/*
Copyright (c) 2015, Cisco Systems
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this
  list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "wt_matrix.h"
#include <string.h>
#include <math.h>
#include <assert.h>
#include <stdio.h>

#define QM_DATA_SIZE 4*4+8*8+16*16+16*16+16*16+16*16
static uint16_t iwt_matrix_ref[NUM_QM_LEVELS][3][2][QM_DATA_SIZE];
static uint16_t wt_matrix_ref[NUM_QM_LEVELS][3][2][QM_DATA_SIZE];

void alloc_wmatrices(qmtx_t* matrix[NUM_QM_LEVELS][3][2][TR_SIZE_RANGE], int inverse)
{
  int q, c, f, t;
  int qwidth[TR_SIZE_RANGE];
  int offset;
  for (t=0; t<TR_SIZE_RANGE; t++) {
    qwidth[t] = min(1<<(t+2),MAX_QUANT_SIZE);
  }
  for (q=0; q<NUM_QM_LEVELS; ++q) {
    for (c=0; c<3; ++c) {
      for (f=0; f<2; ++f) {
        offset = 0;
        for (t=0; t<TR_SIZE_RANGE; ++t) {
          if (inverse) matrix[q][c][f][t] = &iwt_matrix_ref[q][c][f][offset];
          else matrix[q][c][f][t] = &wt_matrix_ref[q][c][f][offset];
          offset += qwidth[t]*qwidth[t];
        }
      }
    }
  }

}

static uint16_t iwt_matrix_ref[NUM_QM_LEVELS][3][2][QM_DATA_SIZE]=
{
  {
    /* QM level 0*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        52,  58, 115, 237,  58, 100, 165, 277, 115, 165, 300, 475, 237, 277, 475, 772,

        /*Size 8 x 8*/
        64,  45,  50,  70, 104, 153, 222, 318,  45,  53,  51,  62,  84, 119, 169, 238,
        50,  51,  77,  95, 118, 155, 207, 278,  70,  62,  95, 134, 171, 215, 273, 351,
        104,  84, 118, 171, 231, 294, 366, 457, 153, 119, 155, 215, 294, 384, 482, 595,
        222, 169, 207, 273, 366, 482, 614, 761, 318, 238, 278, 351, 457, 595, 761, 950,

        /*Size 16 x 16*/
        64,  55,  45,  48,  50,  60,  70,  87, 104, 128, 153, 188, 222, 270, 318, 318,
        55,  52,  49,  50,  50,  58,  66,  80,  94, 115, 136, 166, 196, 237, 278, 278,
        45,  49,  53,  52,  51,  56,  62,  73,  84, 102, 119, 144, 169, 203, 238, 238,
        48,  50,  52,  58,  64,  71,  78,  90, 101, 119, 137, 162, 188, 223, 258, 258,
        50,  50,  51,  64,  77,  86,  95, 107, 118, 136, 155, 181, 207, 242, 278, 278,
        60,  58,  56,  71,  86, 100, 115, 130, 145, 165, 185, 212, 240, 277, 314, 314,
        70,  66,  62,  78,  95, 115, 134, 153, 171, 193, 215, 244, 273, 312, 351, 351,
        87,  80,  73,  90, 107, 130, 153, 177, 201, 228, 254, 287, 319, 362, 404, 404,
        104,  94,  84, 101, 118, 145, 171, 201, 231, 262, 294, 330, 366, 412, 457, 457,
        128, 115, 102, 119, 136, 165, 193, 228, 262, 300, 339, 381, 424, 475, 526, 526,
        153, 136, 119, 137, 155, 185, 215, 254, 294, 339, 384, 433, 482, 539, 595, 595,
        188, 166, 144, 162, 181, 212, 244, 287, 330, 381, 433, 490, 548, 613, 678, 678,
        222, 196, 169, 188, 207, 240, 273, 319, 366, 424, 482, 548, 614, 688, 761, 761,
        270, 237, 203, 223, 242, 277, 312, 362, 412, 475, 539, 613, 688, 772, 856, 856,
        318, 278, 238, 258, 278, 314, 351, 404, 457, 526, 595, 678, 761, 856, 950, 950,
        318, 278, 238, 258, 278, 314, 351, 404, 457, 526, 595, 678, 761, 856, 950, 950,

        /*Size 32 x 32*/
        64,  59,  55,  50,  45,  46,  48,  49,  50,  55,  60,  65,  70,  78,  87,  95,
        59,  56,  53,  50,  47,  48,  49,  49,  50,  54,  59,  63,  68,  75,  83,  91,
        55,  53,  52,  51,  49,  49,  50,  50,  50,  54,  58,  62,  66,  73,  80,  87,
        50,  50,  51,  51,  51,  51,  51,  51,  50,  54,  57,  60,  64,  70,  76,  83,
        45,  47,  49,  51,  53,  53,  52,  51,  51,  53,  56,  59,  62,  67,  73,  79,
        46,  48,  49,  51,  53,  54,  55,  56,  57,  60,  64,  67,  70,  76,  81,  87,
        48,  49,  50,  51,  52,  55,  58,  61,  64,  67,  71,  75,  78,  84,  90,  96,
        49,  49,  50,  51,  51,  56,  61,  66,  71,  75,  79,  83,  87,  92,  98, 104,
        50,  50,  50,  50,  51,  57,  64,  71,  77,  82,  86,  91,  95, 101, 107, 112,
        55,  54,  54,  54,  53,  60,  67,  75,  82,  87,  93,  99, 105, 111, 118, 125,
        60,  59,  58,  57,  56,  64,  71,  79,  86,  93, 100, 107, 115, 122, 130, 137,
        65,  63,  62,  60,  59,  67,  75,  83,  91,  99, 107, 116, 124, 133, 141, 150,
        70,  68,  66,  64,  62,  70,  78,  87,  95, 105, 115, 124, 134, 143, 153, 162,
        78,  75,  73,  70,  67,  76,  84,  92, 101, 111, 122, 133, 143, 154, 165, 175,
        87,  83,  80,  76,  73,  81,  90,  98, 107, 118, 130, 141, 153, 165, 177, 189,
        95,  91,  87,  83,  79,  87,  96, 104, 112, 125, 137, 150, 162, 175, 189, 202,

        /*Size 64 x 64*/
        64,  62,  59,  57,  55,  52,  50,  48,  45,  46,  46,  47,  48,  48,  49,  49,
        62,  60,  58,  56,  54,  52,  50,  48,  46,  47,  47,  48,  48,  48,  49,  49,
        59,  58,  56,  55,  53,  52,  50,  49,  47,  48,  48,  48,  49,  49,  49,  50,
        57,  56,  55,  54,  53,  52,  50,  49,  48,  48,  49,  49,  49,  49,  50,  50,
        55,  54,  53,  53,  52,  51,  51,  50,  49,  49,  49,  50,  50,  50,  50,  50,
        52,  52,  52,  52,  51,  51,  51,  51,  50,  50,  50,  50,  50,  50,  50,  50,
        50,  50,  50,  50,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  50,
        48,  48,  49,  49,  50,  51,  51,  52,  52,  52,  52,  52,  51,  51,  51,  51,
        45,  46,  47,  48,  49,  50,  51,  52,  53,  53,  53,  52,  52,  52,  51,  51,
        46,  47,  48,  48,  49,  50,  51,  52,  53,  53,  53,  53,  53,  53,  54,  54,
        46,  47,  48,  49,  49,  50,  51,  52,  53,  53,  54,  54,  55,  55,  56,  57,
        47,  48,  48,  49,  50,  50,  51,  52,  52,  53,  54,  55,  56,  57,  58,  59,
        48,  48,  49,  49,  50,  50,  51,  51,  52,  53,  55,  56,  58,  59,  61,  62,
        48,  48,  49,  49,  50,  50,  51,  51,  52,  53,  55,  57,  59,  61,  63,  65,
        49,  49,  49,  50,  50,  50,  51,  51,  51,  54,  56,  58,  61,  63,  66,  68,
        49,  49,  50,  50,  50,  50,  50,  51,  51,  54,  57,  59,  62,  65,  68,  71,

        /*Size 128 x 128*/
        64,  63,  62,  60,  59,  58,  57,  56,  55,  53,  52,  51,  50,  49,  48,  46,
        63,  62,  61,  60,  59,  57,  56,  55,  54,  53,  52,  51,  50,  49,  48,  47,
        62,  61,  60,  59,  58,  57,  56,  55,  54,  53,  52,  51,  50,  49,  48,  47,
        60,  60,  59,  58,  57,  56,  55,  54,  54,  53,  52,  51,  50,  49,  48,  48,
        59,  59,  58,  57,  56,  56,  55,  54,  53,  53,  52,  51,  50,  50,  49,  48,
        58,  57,  57,  56,  56,  55,  54,  54,  53,  52,  52,  51,  50,  50,  49,  48,
        57,  56,  56,  55,  55,  54,  54,  53,  53,  52,  52,  51,  50,  50,  49,  49,
        56,  55,  55,  54,  54,  54,  53,  53,  52,  52,  51,  51,  51,  50,  50,  49,
        55,  54,  54,  54,  53,  53,  53,  52,  52,  52,  51,  51,  51,  50,  50,  50,
        53,  53,  53,  53,  53,  52,  52,  52,  52,  51,  51,  51,  51,  50,  50,  50,
        52,  52,  52,  52,  52,  52,  52,  51,  51,  51,  51,  51,  51,  51,  51,  50,
        51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,
        50,  50,  50,  50,  50,  50,  50,  51,  51,  51,  51,  51,  51,  51,  51,  51,
        49,  49,  49,  49,  50,  50,  50,  50,  50,  50,  51,  51,  51,  51,  51,  52,
        48,  48,  48,  48,  49,  49,  49,  50,  50,  50,  51,  51,  51,  51,  52,  52,
        46,  47,  47,  48,  48,  48,  49,  49,  50,  50,  50,  51,  51,  52,  52,  52

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        11,  12,  24,  49,  12,  21,  34,  57,  24,  34,  62,  98,  49,  57,  98, 159,

        /*Size 8 x 8*/
        13,   9,  10,  14,  21,  32,  46,  65,   9,  11,  11,  13,  17,  25,  35,  49,
        10,  11,  16,  20,  24,  32,  43,  57,  14,  13,  20,  28,  35,  44,  56,  72,
        21,  17,  24,  35,  48,  61,  75,  94,  32,  25,  32,  44,  61,  79,  99, 123,
        46,  35,  43,  56,  75,  99, 126, 157,  65,  49,  57,  72,  94, 123, 157, 196,

        /*Size 16 x 16*/
        13,  11,   9,  10,  10,  12,  14,  18,  21,  26,  32,  39,  46,  56,  65,  65,
        11,  11,  10,  10,  10,  12,  14,  16,  19,  24,  28,  34,  40,  49,  57,  57,
        9,  10,  11,  11,  11,  12,  13,  15,  17,  21,  25,  30,  35,  42,  49,  49,
        10,  10,  11,  12,  13,  15,  16,  18,  21,  24,  28,  33,  39,  46,  53,  53,
        10,  10,  11,  13,  16,  18,  20,  22,  24,  28,  32,  37,  43,  50,  57,  57,
        12,  12,  12,  15,  18,  21,  24,  27,  30,  34,  38,  44,  49,  57,  65,  65,
        14,  14,  13,  16,  20,  24,  28,  31,  35,  40,  44,  50,  56,  64,  72,  72,
        18,  16,  15,  18,  22,  27,  31,  36,  41,  47,  52,  59,  66,  74,  83,  83,
        21,  19,  17,  21,  24,  30,  35,  41,  48,  54,  61,  68,  75,  85,  94,  94,
        26,  24,  21,  24,  28,  34,  40,  47,  54,  62,  70,  79,  87,  98, 108, 108,
        32,  28,  25,  28,  32,  38,  44,  52,  61,  70,  79,  89,  99, 111, 123, 123,
        39,  34,  30,  33,  37,  44,  50,  59,  68,  79,  89, 101, 113, 126, 140, 140,
        46,  40,  35,  39,  43,  49,  56,  66,  75,  87,  99, 113, 126, 141, 157, 157,
        56,  49,  42,  46,  50,  57,  64,  74,  85,  98, 111, 126, 141, 159, 176, 176,
        65,  57,  49,  53,  57,  65,  72,  83,  94, 108, 123, 140, 157, 176, 196, 196,
        65,  57,  49,  53,  57,  65,  72,  83,  94, 108, 123, 140, 157, 176, 196, 196,

        /*Size 32 x 32*/
        13,  12,  11,  10,   9,  10,  10,  10,  10,  11,  12,  13,  14,  16,  18,  20,
        12,  12,  11,  10,  10,  10,  10,  10,  10,  11,  12,  13,  14,  15,  17,  19,
        11,  11,  11,  10,  10,  10,  10,  10,  10,  11,  12,  13,  14,  15,  16,  18,
        10,  10,  10,  10,  11,  11,  11,  10,  10,  11,  12,  12,  13,  14,  16,  17,
        9,  10,  10,  11,  11,  11,  11,  11,  11,  11,  12,  12,  13,  14,  15,  16,
        10,  10,  10,  11,  11,  11,  11,  12,  12,  13,  13,  14,  14,  16,  17,  18,
        10,  10,  10,  11,  11,  11,  12,  13,  13,  14,  15,  15,  16,  17,  18,  20,
        10,  10,  10,  10,  11,  12,  13,  14,  15,  15,  16,  17,  18,  19,  20,  21,
        10,  10,  10,  10,  11,  12,  13,  15,  16,  17,  18,  19,  20,  21,  22,  23,
        11,  11,  11,  11,  11,  13,  14,  15,  17,  18,  19,  20,  22,  23,  24,  26,
        12,  12,  12,  12,  12,  13,  15,  16,  18,  19,  21,  22,  24,  25,  27,  28,
        13,  13,  13,  12,  12,  14,  15,  17,  19,  20,  22,  24,  26,  27,  29,  31,
        14,  14,  14,  13,  13,  14,  16,  18,  20,  22,  24,  26,  28,  29,  31,  33,
        16,  15,  15,  14,  14,  16,  17,  19,  21,  23,  25,  27,  29,  32,  34,  36,
        18,  17,  16,  16,  15,  17,  18,  20,  22,  24,  27,  29,  31,  34,  36,  39,
        20,  19,  18,  17,  16,  18,  20,  21,  23,  26,  28,  31,  33,  36,  39,  42,

        /*Size 64 x 64*/
        13,  13,  12,  12,  11,  11,  10,  10,   9,   9,  10,  10,  10,  10,  10,  10,
        13,  12,  12,  12,  11,  11,  10,  10,   9,  10,  10,  10,  10,  10,  10,  10,
        12,  12,  12,  11,  11,  11,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,
        12,  12,  11,  11,  11,  11,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,
        11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,
        11,  11,  11,  11,  11,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,
        10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  10,  10,  10,
        10,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,
        9,   9,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,
        9,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,
        10,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  11,  12,  12,  12,
        10,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  12,  12,  12,  12,
        10,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  12,  12,  12,  13,  13,
        10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  12,  12,  12,  13,  13,  14,
        10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  12,  12,  13,  13,  14,  14,
        10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  12,  12,  13,  14,  14,  15,

        /*Size 128 x 128*/
        13,  13,  13,  13,  12,  12,  12,  12,  11,  11,  11,  11,  10,  10,  10,  10,
        13,  13,  13,  12,  12,  12,  12,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        13,  13,  12,  12,  12,  12,  12,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        13,  12,  12,  12,  12,  12,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        12,  12,  12,  12,  12,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        12,  12,  12,  12,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        12,  12,  12,  11,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        12,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,  10,
        11,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,
        10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  11,  11,  11,
        10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  11,
        10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  11,
        10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  11

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        60, 100, 112, 158, 100, 126, 140, 173, 112, 140, 206, 260, 158, 173, 260, 361,

        /*Size 8 x 8*/
        64,  50, 104, 106, 117, 136, 164, 199,  50,  77, 101,  89,  92, 104, 123, 147,
        104, 101, 125, 119, 119, 128, 144, 167, 106,  89, 119, 142, 153, 163, 179, 201,
        117,  92, 119, 153, 181, 202, 223, 247, 136, 104, 128, 163, 202, 238, 269, 301,
        164, 123, 144, 179, 223, 269, 314, 357, 199, 147, 167, 201, 247, 301, 357, 414,

        /*Size 16 x 16*/
        64,  57,  50,  77, 104, 105, 106, 111, 117, 126, 136, 150, 164, 181, 199, 199,
        57,  60,  64,  83, 102, 100,  97, 101, 104, 112, 120, 132, 143, 158, 173, 173,
        50,  64,  77,  89, 101,  95,  89,  90,  92,  98, 104, 114, 123, 135, 147, 147,
        77,  83,  89, 101, 113, 108, 104, 105, 105, 111, 116, 125, 133, 145, 157, 157,
        104, 102, 101, 113, 125, 122, 119, 119, 119, 123, 128, 136, 144, 156, 167, 167,
        105, 100,  95, 108, 122, 126, 131, 133, 136, 140, 145, 153, 161, 173, 184, 184,
        106,  97,  89, 104, 119, 131, 142, 147, 153, 158, 163, 171, 179, 190, 201, 201,
        111, 101,  90, 105, 119, 133, 147, 157, 167, 175, 182, 191, 201, 212, 224, 224,
        117, 104,  92, 105, 119, 136, 153, 167, 181, 191, 202, 212, 223, 235, 247, 247,
        126, 112,  98, 111, 123, 140, 158, 175, 191, 206, 220, 233, 246, 260, 274, 274,
        136, 120, 104, 116, 128, 145, 163, 182, 202, 220, 238, 254, 269, 285, 301, 301,
        150, 132, 114, 125, 136, 153, 171, 191, 212, 233, 254, 273, 292, 310, 329, 329,
        164, 143, 123, 133, 144, 161, 179, 201, 223, 246, 269, 292, 314, 336, 357, 357,
        181, 158, 135, 145, 156, 173, 190, 212, 235, 260, 285, 310, 336, 361, 386, 386,
        199, 173, 147, 157, 167, 184, 201, 224, 247, 274, 301, 329, 357, 386, 414, 414,
        199, 173, 147, 157, 167, 184, 201, 224, 247, 274, 301, 329, 357, 386, 414, 414,

        /*Size 32 x 32*/
        64,  60,  57,  53,  50,  63,  77,  90, 104, 104, 105, 106, 106, 109, 111, 114,
        60,  59,  59,  58,  57,  68,  80,  91, 103, 103, 102, 102, 102, 104, 106, 108,
        57,  59,  60,  62,  64,  73,  83,  92, 102, 101, 100,  99,  97,  99, 101, 103,
        53,  58,  62,  66,  70,  78,  86,  94, 101,  99,  97,  95,  93,  94,  96,  97,
        50,  57,  64,  70,  77,  83,  89,  95, 101,  98,  95,  92,  89,  89,  90,  91,
        63,  68,  73,  78,  83,  89,  95, 101, 107, 104, 102,  99,  96,  97,  97,  98,
        77,  80,  83,  86,  89,  95, 101, 107, 113, 111, 108, 106, 104, 104, 105, 105,
        90,  91,  92,  94,  95, 101, 107, 113, 119, 117, 115, 113, 112, 112, 112, 112,
        104, 103, 102, 101, 101, 107, 113, 119, 125, 124, 122, 121, 119, 119, 119, 119,
        104, 103, 101,  99,  98, 104, 111, 117, 124, 124, 124, 125, 125, 125, 126, 126,
        105, 102, 100,  97,  95, 102, 108, 115, 122, 124, 126, 129, 131, 132, 133, 134,
        106, 102,  99,  95,  92,  99, 106, 113, 121, 125, 129, 132, 136, 138, 140, 142,
        106, 102,  97,  93,  89,  96, 104, 112, 119, 125, 131, 136, 142, 145, 147, 150,
        109, 104,  99,  94,  89,  97, 104, 112, 119, 125, 132, 138, 145, 148, 152, 156,
        111, 106, 101,  96,  90,  97, 105, 112, 119, 126, 133, 140, 147, 152, 157, 162,
        114, 108, 103,  97,  91,  98, 105, 112, 119, 126, 134, 142, 150, 156, 162, 168,

        /*Size 64 x 64*/
        64,  62,  60,  59,  57,  55,  53,  52,  50,  56,  63,  70,  77,  83,  90,  97,
        62,  61,  60,  59,  58,  57,  55,  54,  53,  59,  66,  72,  78,  84,  91,  97,
        60,  60,  59,  59,  59,  58,  58,  57,  57,  62,  68,  74,  80,  85,  91,  97,
        59,  59,  59,  59,  59,  60,  60,  60,  60,  65,  71,  76,  81,  87,  92,  97,
        57,  58,  59,  59,  60,  61,  62,  63,  64,  68,  73,  78,  83,  88,  92,  97,
        55,  57,  58,  60,  61,  62,  64,  65,  67,  71,  76,  80,  84,  89,  93,  97,
        53,  55,  58,  60,  62,  64,  66,  68,  70,  74,  78,  82,  86,  90,  94,  98,
        52,  54,  57,  60,  63,  65,  68,  71,  74,  77,  81,  84,  87,  91,  94,  98,
        50,  53,  57,  60,  64,  67,  70,  74,  77,  80,  83,  86,  89,  92,  95,  98,
        56,  59,  62,  65,  68,  71,  74,  77,  80,  83,  86,  89,  92,  95,  98, 101,
        63,  66,  68,  71,  73,  76,  78,  81,  83,  86,  89,  92,  95,  98, 101, 104,
        70,  72,  74,  76,  78,  80,  82,  84,  86,  89,  92,  95,  98, 101, 104, 107,
        77,  78,  80,  81,  83,  84,  86,  87,  89,  92,  95,  98, 101, 104, 107, 110,
        83,  84,  85,  87,  88,  89,  90,  91,  92,  95,  98, 101, 104, 107, 110, 113,
        90,  91,  91,  92,  92,  93,  94,  94,  95,  98, 101, 104, 107, 110, 113, 116,
        97,  97,  97,  97,  97,  97,  98,  98,  98, 101, 104, 107, 110, 113, 116, 119,

        /*Size 128 x 128*/
        64,  63,  62,  61,  60,  60,  59,  58,  57,  56,  55,  54,  53,  52,  52,  51,
        63,  62,  62,  61,  60,  59,  59,  58,  57,  57,  56,  55,  54,  54,  53,  52,
        62,  62,  61,  61,  60,  59,  59,  58,  58,  57,  57,  56,  55,  55,  54,  54,
        61,  61,  61,  60,  60,  59,  59,  59,  58,  58,  57,  57,  57,  56,  56,  55,
        60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,  58,  58,  57,  57,  57,
        60,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  58,  58,
        59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  60,
        58,  58,  58,  59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  62,
        57,  57,  58,  58,  59,  59,  59,  60,  60,  61,  61,  61,  62,  62,  63,  63,
        56,  57,  57,  58,  58,  59,  59,  60,  61,  61,  62,  62,  63,  63,  64,  65,
        55,  56,  57,  57,  58,  59,  60,  60,  61,  62,  62,  63,  64,  65,  65,  66,
        54,  55,  56,  57,  58,  59,  60,  61,  61,  62,  63,  64,  65,  66,  67,  68,
        53,  54,  55,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
        52,  54,  55,  56,  57,  59,  60,  61,  62,  63,  65,  66,  67,  68,  70,  71,
        52,  53,  54,  56,  57,  58,  60,  61,  63,  64,  65,  67,  68,  70,  71,  72,
        51,  52,  54,  55,  57,  58,  60,  62,  63,  65,  66,  68,  69,  71,  72,  74

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        21,  35,  40,  56,  35,  45,  49,  61,  40,  49,  73,  91,  56,  61,  91, 127,

        /*Size 8 x 8*/
        23,  18,  37,  38,  41,  48,  58,  70,  18,  27,  36,  31,  32,  37,  43,  52,
        37,  36,  44,  42,  42,  45,  51,  59,  38,  31,  42,  50,  54,  57,  63,  71,
        41,  32,  42,  54,  64,  71,  78,  87,  48,  37,  45,  57,  71,  84,  95, 106,
        58,  43,  51,  63,  78,  95, 111, 126,  70,  52,  59,  71,  87, 106, 126, 146,

        /*Size 16 x 16*/
        23,  20,  18,  27,  37,  37,  38,  39,  41,  45,  48,  53,  58,  64,  70,  70,
        20,  21,  22,  29,  36,  35,  34,  36,  37,  40,  42,  46,  51,  56,  61,  61,
        18,  22,  27,  31,  36,  33,  31,  32,  32,  35,  37,  40,  43,  48,  52,  52,
        27,  29,  31,  36,  40,  38,  37,  37,  37,  39,  41,  44,  47,  51,  55,  55,
        37,  36,  36,  40,  44,  43,  42,  42,  42,  43,  45,  48,  51,  55,  59,  59,
        37,  35,  33,  38,  43,  45,  46,  47,  48,  49,  51,  54,  57,  61,  65,  65,
        38,  34,  31,  37,  42,  46,  50,  52,  54,  56,  57,  60,  63,  67,  71,  71,
        39,  36,  32,  37,  42,  47,  52,  55,  59,  62,  64,  67,  71,  75,  79,  79,
        41,  37,  32,  37,  42,  48,  54,  59,  64,  68,  71,  75,  78,  83,  87,  87,
        45,  40,  35,  39,  43,  49,  56,  62,  68,  73,  78,  82,  87,  91,  96,  96,
        48,  42,  37,  41,  45,  51,  57,  64,  71,  78,  84,  89,  95, 100, 106, 106,
        53,  46,  40,  44,  48,  54,  60,  67,  75,  82,  89,  96, 103, 109, 116, 116,
        58,  51,  43,  47,  51,  57,  63,  71,  78,  87,  95, 103, 111, 118, 126, 126,
        64,  56,  48,  51,  55,  61,  67,  75,  83,  91, 100, 109, 118, 127, 136, 136,
        70,  61,  52,  55,  59,  65,  71,  79,  87,  96, 106, 116, 126, 136, 146, 146,
        70,  61,  52,  55,  59,  65,  71,  79,  87,  96, 106, 116, 126, 136, 146, 146,

        /*Size 32 x 32*/
        23,  21,  20,  19,  18,  22,  27,  32,  37,  37,  37,  37,  38,  38,  39,  40,
        21,  21,  21,  20,  20,  24,  28,  32,  36,  36,  36,  36,  36,  37,  37,  38,
        20,  21,  21,  22,  22,  26,  29,  33,  36,  36,  35,  35,  34,  35,  36,  36,
        19,  20,  22,  23,  25,  28,  30,  33,  36,  35,  34,  34,  33,  33,  34,  34,
        18,  20,  22,  25,  27,  29,  31,  33,  36,  34,  33,  32,  31,  32,  32,  32,
        22,  24,  26,  28,  29,  31,  33,  36,  38,  37,  36,  35,  34,  34,  34,  34,
        27,  28,  29,  30,  31,  33,  36,  38,  40,  39,  38,  37,  37,  37,  37,  37,
        32,  32,  33,  33,  33,  36,  38,  40,  42,  41,  41,  40,  39,  39,  39,  39,
        37,  36,  36,  36,  36,  38,  40,  42,  44,  44,  43,  43,  42,  42,  42,  42,
        37,  36,  36,  35,  34,  37,  39,  41,  44,  44,  44,  44,  44,  44,  44,  45,
        37,  36,  35,  34,  33,  36,  38,  41,  43,  44,  45,  45,  46,  46,  47,  47,
        37,  36,  35,  34,  32,  35,  37,  40,  43,  44,  45,  47,  48,  49,  49,  50,
        38,  36,  34,  33,  31,  34,  37,  39,  42,  44,  46,  48,  50,  51,  52,  53,
        38,  37,  35,  33,  32,  34,  37,  39,  42,  44,  46,  49,  51,  52,  54,  55,
        39,  37,  36,  34,  32,  34,  37,  39,  42,  44,  47,  49,  52,  54,  55,  57,
        40,  38,  36,  34,  32,  34,  37,  39,  42,  45,  47,  50,  53,  55,  57,  59,

        /*Size 64 x 64*/
        23,  22,  21,  21,  20,  19,  19,  18,  18,  20,  22,  25,  27,  29,  32,  34,
        22,  21,  21,  21,  20,  20,  20,  19,  19,  21,  23,  25,  28,  30,  32,  34,
        21,  21,  21,  21,  21,  20,  20,  20,  20,  22,  24,  26,  28,  30,  32,  34,
        21,  21,  21,  21,  21,  21,  21,  21,  21,  23,  25,  27,  29,  31,  32,  34,
        20,  20,  21,  21,  21,  21,  22,  22,  22,  24,  26,  27,  29,  31,  33,  34,
        19,  20,  20,  21,  21,  22,  23,  23,  24,  25,  27,  28,  30,  31,  33,  34,
        19,  20,  20,  21,  22,  23,  23,  24,  25,  26,  28,  29,  30,  32,  33,  34,
        18,  19,  20,  21,  22,  23,  24,  25,  26,  27,  28,  30,  31,  32,  33,  34,
        18,  19,  20,  21,  22,  24,  25,  26,  27,  28,  29,  30,  31,  32,  33,  34,
        20,  21,  22,  23,  24,  25,  26,  27,  28,  29,  30,  31,  32,  33,  34,  36,
        22,  23,  24,  25,  26,  27,  28,  28,  29,  30,  31,  32,  33,  35,  36,  37,
        25,  25,  26,  27,  27,  28,  29,  30,  30,  31,  32,  33,  35,  36,  37,  38,
        27,  28,  28,  29,  29,  30,  30,  31,  31,  32,  33,  35,  36,  37,  38,  39,
        29,  30,  30,  31,  31,  31,  32,  32,  32,  33,  35,  36,  37,  38,  39,  40,
        32,  32,  32,  32,  33,  33,  33,  33,  33,  34,  36,  37,  38,  39,  40,  41,
        34,  34,  34,  34,  34,  34,  34,  34,  34,  36,  37,  38,  39,  40,  41,  42,

        /*Size 128 x 128*/
        23,  22,  22,  22,  21,  21,  21,  20,  20,  20,  19,  19,  19,  18,  18,  18,
        22,  22,  22,  21,  21,  21,  21,  20,  20,  20,  20,  19,  19,  19,  19,  18,
        22,  22,  21,  21,  21,  21,  21,  20,  20,  20,  20,  20,  20,  19,  19,  19,
        22,  21,  21,  21,  21,  21,  21,  21,  20,  20,  20,  20,  20,  20,  20,  19,
        21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  20,  20,  20,  20,  20,  20,
        21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,
        21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,
        20,  20,  20,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  22,  22,
        20,  20,  20,  20,  21,  21,  21,  21,  21,  21,  21,  22,  22,  22,  22,  22,
        20,  20,  20,  20,  21,  21,  21,  21,  21,  22,  22,  22,  22,  22,  23,  23,
        19,  20,  20,  20,  20,  21,  21,  21,  21,  22,  22,  22,  23,  23,  23,  23,
        19,  19,  20,  20,  20,  21,  21,  21,  22,  22,  22,  23,  23,  23,  24,  24,
        19,  19,  20,  20,  20,  21,  21,  21,  22,  22,  23,  23,  23,  24,  24,  24,
        18,  19,  19,  20,  20,  21,  21,  21,  22,  22,  23,  23,  24,  24,  25,  25,
        18,  19,  19,  20,  20,  21,  21,  22,  22,  23,  23,  24,  24,  25,  25,  26,
        18,  18,  19,  19,  20,  21,  21,  22,  22,  23,  23,  24,  24,  25,  26,  26

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        60, 108, 124, 175, 108, 140, 155, 191, 124, 155, 227, 287, 175, 191, 287, 399,

        /*Size 8 x 8*/
        64,  50, 104, 118, 129, 151, 181, 220,  50,  77, 111,  98, 102, 115, 136, 163,
        104, 111, 138, 132, 131, 141, 159, 185, 118,  98, 132, 157, 169, 180, 197, 222,
        129, 102, 131, 169, 200, 223, 246, 273, 151, 115, 141, 180, 223, 263, 298, 332,
        181, 136, 159, 197, 246, 298, 347, 395, 220, 163, 185, 222, 273, 332, 395, 457,

        /*Size 16 x 16*/
        64,  57,  50,  77, 104, 111, 118, 123, 129, 140, 151, 166, 181, 200, 220, 220,
        57,  60,  64,  85, 107, 108, 108, 111, 115, 124, 133, 145, 158, 175, 191, 191,
        50,  64,  77,  94, 111, 105,  98, 100, 102, 108, 115, 125, 136, 149, 163, 163,
        77,  85,  94, 109, 125, 120, 115, 116, 116, 122, 128, 138, 147, 161, 174, 174,
        104, 107, 111, 125, 138, 135, 132, 131, 131, 136, 141, 150, 159, 172, 185, 185,
        111, 108, 105, 120, 135, 140, 144, 147, 150, 155, 160, 169, 178, 191, 203, 203,
        118, 108,  98, 115, 132, 144, 157, 163, 169, 174, 180, 189, 197, 210, 222, 222,
        123, 111, 100, 116, 131, 147, 163, 173, 184, 193, 202, 212, 222, 234, 247, 247,
        129, 115, 102, 116, 131, 150, 169, 184, 200, 212, 223, 235, 246, 259, 273, 273,
        140, 124, 108, 122, 136, 155, 174, 193, 212, 227, 243, 257, 272, 287, 302, 302,
        151, 133, 115, 128, 141, 160, 180, 202, 223, 243, 263, 280, 298, 315, 332, 332,
        166, 145, 125, 138, 150, 169, 189, 212, 235, 257, 280, 301, 322, 343, 363, 363,
        181, 158, 136, 147, 159, 178, 197, 222, 246, 272, 298, 322, 347, 371, 395, 395,
        200, 175, 149, 161, 172, 191, 210, 234, 259, 287, 315, 343, 371, 399, 426, 426,
        220, 191, 163, 174, 185, 203, 222, 247, 273, 302, 332, 363, 395, 426, 457, 457,
        220, 191, 163, 174, 185, 203, 222, 247, 273, 302, 332, 363, 395, 426, 457, 457,

        /*Size 32 x 32*/
        64,  60,  57,  53,  50,  63,  77,  90, 104, 107, 111, 114, 118, 120, 123, 126,
        60,  59,  59,  58,  57,  69,  81,  93, 105, 107, 109, 111, 113, 115, 117, 120,
        57,  59,  60,  62,  64,  74,  85,  96, 107, 107, 108, 108, 108, 110, 111, 113,
        53,  58,  62,  66,  70,  80,  90, 100, 109, 108, 106, 104, 103, 104, 106, 107,
        50,  57,  64,  70,  77,  86,  94, 103, 111, 108, 105, 101,  98,  99, 100, 101,
        63,  69,  74,  80,  86,  94, 102, 110, 118, 115, 112, 109, 106, 107, 108, 108,
        77,  81,  85,  90,  94, 102, 109, 117, 125, 122, 120, 117, 115, 115, 116, 116,
        90,  93,  96, 100, 103, 110, 117, 124, 131, 129, 127, 125, 123, 123, 123, 124,
        104, 105, 107, 109, 111, 118, 125, 131, 138, 136, 135, 133, 132, 132, 131, 131,
        107, 107, 107, 108, 108, 115, 122, 129, 136, 137, 137, 138, 138, 139, 139, 140,
        111, 109, 108, 106, 105, 112, 120, 127, 135, 137, 140, 142, 144, 146, 147, 148,
        114, 111, 108, 104, 101, 109, 117, 125, 133, 138, 142, 146, 151, 153, 155, 157,
        118, 113, 108, 103,  98, 106, 115, 123, 132, 138, 144, 151, 157, 160, 163, 166,
        120, 115, 110, 104,  99, 107, 115, 123, 132, 139, 146, 153, 160, 164, 168, 172,
        123, 117, 111, 106, 100, 108, 116, 123, 131, 139, 147, 155, 163, 168, 173, 179,
        126, 120, 113, 107, 101, 108, 116, 124, 131, 140, 148, 157, 166, 172, 179, 185,

        /*Size 64 x 64*/
        64,  62,  60,  59,  57,  55,  53,  52,  50,  56,  63,  70,  77,  83,  90,  97,
        62,  61,  60,  59,  58,  57,  55,  54,  53,  60,  66,  72,  79,  85,  92,  98,
        60,  60,  59,  59,  59,  58,  58,  57,  57,  63,  69,  75,  81,  87,  93,  99,
        59,  59,  59,  59,  59,  60,  60,  60,  60,  66,  72,  77,  83,  89,  95, 101,
        57,  58,  59,  59,  60,  61,  62,  63,  64,  69,  74,  80,  85,  91,  96, 102,
        55,  57,  58,  60,  61,  62,  64,  65,  67,  72,  77,  82,  88,  93,  98, 103,
        53,  55,  58,  60,  62,  64,  66,  68,  70,  75,  80,  85,  90,  95, 100, 104,
        52,  54,  57,  60,  63,  65,  68,  71,  74,  78,  83,  87,  92,  97, 101, 106,
        50,  53,  57,  60,  64,  67,  70,  74,  77,  82,  86,  90,  94,  99, 103, 107,
        56,  60,  63,  66,  69,  72,  75,  78,  82,  86,  90,  94,  98, 102, 106, 110,
        63,  66,  69,  72,  74,  77,  80,  83,  86,  90,  94,  98, 102, 106, 110, 114,
        70,  72,  75,  77,  80,  82,  85,  87,  90,  94,  98, 102, 106, 110, 113, 117,
        77,  79,  81,  83,  85,  88,  90,  92,  94,  98, 102, 106, 109, 113, 117, 121,
        83,  85,  87,  89,  91,  93,  95,  97,  99, 102, 106, 110, 113, 117, 121, 124,
        90,  92,  93,  95,  96,  98, 100, 101, 103, 106, 110, 113, 117, 121, 124, 128,
        97,  98,  99, 101, 102, 103, 104, 106, 107, 110, 114, 117, 121, 124, 128, 131,

        /*Size 128 x 128*/
        64,  63,  62,  61,  60,  60,  59,  58,  57,  56,  55,  54,  53,  52,  52,  51,
        63,  62,  62,  61,  60,  59,  59,  58,  57,  57,  56,  55,  54,  54,  53,  52,
        62,  62,  61,  61,  60,  59,  59,  58,  58,  57,  57,  56,  55,  55,  54,  54,
        61,  61,  61,  60,  60,  59,  59,  59,  58,  58,  57,  57,  57,  56,  56,  55,
        60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,  58,  58,  57,  57,  57,
        60,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  58,  58,
        59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  60,
        58,  58,  58,  59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  62,
        57,  57,  58,  58,  59,  59,  59,  60,  60,  61,  61,  61,  62,  62,  63,  63,
        56,  57,  57,  58,  58,  59,  59,  60,  61,  61,  62,  62,  63,  63,  64,  65,
        55,  56,  57,  57,  58,  59,  60,  60,  61,  62,  62,  63,  64,  65,  65,  66,
        54,  55,  56,  57,  58,  59,  60,  61,  61,  62,  63,  64,  65,  66,  67,  68,
        53,  54,  55,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
        52,  54,  55,  56,  57,  59,  60,  61,  62,  63,  65,  66,  67,  68,  70,  71,
        52,  53,  54,  56,  57,  58,  60,  61,  63,  64,  65,  67,  68,  70,  71,  72,
        51,  52,  54,  55,  57,  58,  60,  62,  63,  65,  66,  68,  69,  71,  72,  74

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        19,  34,  40,  56,  34,  45,  50,  61,  40,  50,  73,  92,  56,  61,  92, 127,

        /*Size 8 x 8*/
        21,  16,  33,  38,  41,  48,  58,  70,  16,  25,  36,  31,  33,  37,  43,  52,
        33,  36,  44,  42,  42,  45,  51,  59,  38,  31,  42,  50,  54,  58,  63,  71,
        41,  33,  42,  54,  64,  71,  79,  87,  48,  37,  45,  58,  71,  84,  95, 106,
        58,  43,  51,  63,  79,  95, 111, 126,  70,  52,  59,  71,  87, 106, 126, 146,

        /*Size 16 x 16*/
        21,  18,  16,  24,  33,  35,  38,  39,  41,  45,  48,  53,  58,  64,  70,  70,
        18,  19,  20,  27,  34,  34,  34,  36,  37,  40,  42,  46,  51,  56,  61,  61,
        16,  20,  25,  30,  36,  33,  31,  32,  33,  35,  37,  40,  43,  48,  52,  52,
        24,  27,  30,  35,  40,  38,  37,  37,  37,  39,  41,  44,  47,  51,  56,  56,
        33,  34,  36,  40,  44,  43,  42,  42,  42,  43,  45,  48,  51,  55,  59,  59,
        35,  34,  33,  38,  43,  45,  46,  47,  48,  50,  51,  54,  57,  61,  65,  65,
        38,  34,  31,  37,  42,  46,  50,  52,  54,  56,  58,  60,  63,  67,  71,  71,
        39,  36,  32,  37,  42,  47,  52,  55,  59,  62,  64,  68,  71,  75,  79,  79,
        41,  37,  33,  37,  42,  48,  54,  59,  64,  68,  71,  75,  79,  83,  87,  87,
        45,  40,  35,  39,  43,  50,  56,  62,  68,  73,  78,  82,  87,  92,  97,  97,
        48,  42,  37,  41,  45,  51,  58,  64,  71,  78,  84,  89,  95, 101, 106, 106,
        53,  46,  40,  44,  48,  54,  60,  68,  75,  82,  89,  96, 103, 109, 116, 116,
        58,  51,  43,  47,  51,  57,  63,  71,  79,  87,  95, 103, 111, 118, 126, 126,
        64,  56,  48,  51,  55,  61,  67,  75,  83,  92, 101, 109, 118, 127, 136, 136,
        70,  61,  52,  56,  59,  65,  71,  79,  87,  97, 106, 116, 126, 136, 146, 146,
        70,  61,  52,  56,  59,  65,  71,  79,  87,  97, 106, 116, 126, 136, 146, 146,

        /*Size 32 x 32*/
        21,  19,  18,  17,  16,  20,  24,  29,  33,  34,  35,  36,  38,  38,  39,  40,
        19,  19,  19,  18,  18,  22,  26,  30,  34,  34,  35,  35,  36,  37,  37,  38,
        18,  19,  19,  20,  20,  24,  27,  31,  34,  34,  34,  34,  34,  35,  36,  36,
        17,  18,  20,  21,  23,  26,  29,  32,  35,  34,  34,  33,  33,  33,  34,  34,
        16,  18,  20,  23,  25,  27,  30,  33,  36,  34,  33,  32,  31,  32,  32,  32,
        20,  22,  24,  26,  27,  30,  33,  35,  38,  37,  36,  35,  34,  34,  34,  35,
        24,  26,  27,  29,  30,  33,  35,  37,  40,  39,  38,  37,  37,  37,  37,  37,
        29,  30,  31,  32,  33,  35,  37,  40,  42,  41,  41,  40,  39,  39,  39,  39,
        33,  34,  34,  35,  36,  38,  40,  42,  44,  44,  43,  43,  42,  42,  42,  42,
        34,  34,  34,  34,  34,  37,  39,  41,  44,  44,  44,  44,  44,  44,  44,  45,
        35,  35,  34,  34,  33,  36,  38,  41,  43,  44,  45,  45,  46,  46,  47,  47,
        36,  35,  34,  33,  32,  35,  37,  40,  43,  44,  45,  47,  48,  49,  49,  50,
        38,  36,  34,  33,  31,  34,  37,  39,  42,  44,  46,  48,  50,  51,  52,  53,
        38,  37,  35,  33,  32,  34,  37,  39,  42,  44,  46,  49,  51,  52,  54,  55,
        39,  37,  36,  34,  32,  34,  37,  39,  42,  44,  47,  49,  52,  54,  55,  57,
        40,  38,  36,  34,  32,  35,  37,  39,  42,  45,  47,  50,  53,  55,  57,  59,

        /*Size 64 x 64*/
        21,  20,  19,  19,  18,  18,  17,  16,  16,  18,  20,  22,  24,  27,  29,  31,
        20,  20,  19,  19,  18,  18,  18,  17,  17,  19,  21,  23,  25,  27,  29,  31,
        19,  19,  19,  19,  19,  18,  18,  18,  18,  20,  22,  24,  26,  28,  30,  32,
        19,  19,  19,  19,  19,  19,  19,  19,  19,  21,  23,  25,  27,  28,  30,  32,
        18,  18,  19,  19,  19,  19,  20,  20,  20,  22,  24,  26,  27,  29,  31,  33,
        18,  18,  18,  19,  19,  20,  20,  21,  21,  23,  25,  26,  28,  30,  31,  33,
        17,  18,  18,  19,  20,  20,  21,  22,  23,  24,  26,  27,  29,  30,  32,  33,
        16,  17,  18,  19,  20,  21,  22,  23,  24,  25,  27,  28,  29,  31,  32,  34,
        16,  17,  18,  19,  20,  21,  23,  24,  25,  26,  27,  29,  30,  31,  33,  34,
        18,  19,  20,  21,  22,  23,  24,  25,  26,  27,  29,  30,  31,  33,  34,  35,
        20,  21,  22,  23,  24,  25,  26,  27,  27,  29,  30,  31,  33,  34,  35,  36,
        22,  23,  24,  25,  26,  26,  27,  28,  29,  30,  31,  32,  34,  35,  36,  37,
        24,  25,  26,  27,  27,  28,  29,  29,  30,  31,  33,  34,  35,  36,  37,  39,
        27,  27,  28,  28,  29,  30,  30,  31,  31,  33,  34,  35,  36,  37,  38,  40,
        29,  29,  30,  30,  31,  31,  32,  32,  33,  34,  35,  36,  37,  38,  40,  41,
        31,  31,  32,  32,  33,  33,  33,  34,  34,  35,  36,  37,  39,  40,  41,  42,

        /*Size 128 x 128*/
        21,  20,  20,  20,  19,  19,  19,  18,  18,  18,  18,  17,  17,  17,  16,  16,
        20,  20,  20,  19,  19,  19,  19,  19,  18,  18,  18,  18,  17,  17,  17,  17,
        20,  20,  20,  19,  19,  19,  19,  19,  18,  18,  18,  18,  18,  17,  17,  17,
        20,  19,  19,  19,  19,  19,  19,  19,  19,  18,  18,  18,  18,  18,  18,  18,
        19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  18,  18,  18,  18,  18,  18,
        19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,
        19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,
        18,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  19,  20,  20,
        18,  18,  18,  19,  19,  19,  19,  19,  19,  19,  19,  20,  20,  20,  20,  20,
        18,  18,  18,  18,  19,  19,  19,  19,  19,  20,  20,  20,  20,  20,  20,  21,
        18,  18,  18,  18,  18,  19,  19,  19,  19,  20,  20,  20,  20,  21,  21,  21,
        17,  18,  18,  18,  18,  19,  19,  19,  20,  20,  20,  20,  21,  21,  21,  22,
        17,  17,  18,  18,  18,  19,  19,  19,  20,  20,  20,  21,  21,  21,  22,  22,
        17,  17,  17,  18,  18,  19,  19,  19,  20,  20,  21,  21,  21,  22,  22,  23,
        16,  17,  17,  18,  18,  19,  19,  20,  20,  20,  21,  21,  22,  22,  23,  23,
        16,  17,  17,  18,  18,  19,  19,  20,  20,  21,  21,  22,  22,  23,  23,  24

      }
    }
  },
  {
    /* QM level 1*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        53,  58, 108, 197,  58,  96, 147, 222, 108, 147, 236, 323, 197, 222, 323, 428,

        /*Size 8 x 8*/
        64,  46,  51,  70,  99, 139, 189, 247,  46,  54,  52,  62,  82, 112, 151, 199,
        51,  52,  76,  92, 112, 140, 178, 225,  70,  62,  92, 124, 153, 184, 221, 265,
        99,  82, 112, 153, 195, 234, 274, 317, 139, 112, 140, 184, 234, 283, 328, 373,
        189, 151, 178, 221, 274, 328, 380, 428, 247, 199, 225, 265, 317, 373, 428, 477,

        /*Size 16 x 16*/
        64,  55,  46,  48,  51,  60,  70,  84,  99, 119, 139, 164, 189, 218, 247, 247,
        55,  53,  50,  51,  51,  58,  66,  78,  91, 108, 126, 148, 170, 197, 223, 223,
        46,  50,  54,  53,  52,  57,  62,  72,  82,  97, 112, 132, 151, 175, 199, 199,
        48,  51,  53,  58,  64,  70,  77,  87,  97, 112, 126, 146, 165, 188, 212, 212,
        51,  51,  52,  64,  76,  84,  92, 102, 112, 126, 140, 159, 178, 201, 225, 225,
        60,  58,  57,  70,  84,  96, 108, 120, 132, 147, 162, 181, 200, 222, 245, 245,
        70,  66,  62,  77,  92, 108, 124, 139, 153, 168, 184, 202, 221, 243, 265, 265,
        84,  78,  72,  87, 102, 120, 139, 156, 174, 191, 209, 228, 247, 269, 291, 291,
        99,  91,  82,  97, 112, 132, 153, 174, 195, 214, 234, 254, 274, 295, 317, 317,
        119, 108,  97, 112, 126, 147, 168, 191, 214, 236, 258, 279, 301, 323, 345, 345,
        139, 126, 112, 126, 140, 162, 184, 209, 234, 258, 283, 305, 328, 351, 373, 373,
        164, 148, 132, 146, 159, 181, 202, 228, 254, 279, 305, 330, 354, 377, 400, 400,
        189, 170, 151, 165, 178, 200, 221, 247, 274, 301, 328, 354, 380, 404, 428, 428,
        218, 197, 175, 188, 201, 222, 243, 269, 295, 323, 351, 377, 404, 428, 452, 452,
        247, 223, 199, 212, 225, 245, 265, 291, 317, 345, 373, 400, 428, 452, 477, 477,
        247, 223, 199, 212, 225, 245, 265, 291, 317, 345, 373, 400, 428, 452, 477, 477,

        /*Size 32 x 32*/
        64,  60,  55,  51,  46,  47,  48,  49,  51,  55,  60,  65,  70,  77,  84,  92,
        60,  57,  54,  51,  48,  49,  49,  50,  51,  55,  59,  63,  68,  74,  81,  88,
        55,  54,  53,  51,  50,  50,  51,  51,  51,  55,  58,  62,  66,  72,  78,  84,
        51,  51,  51,  52,  52,  52,  52,  51,  51,  54,  57,  60,  64,  69,  75,  81,
        46,  48,  50,  52,  54,  53,  53,  52,  52,  54,  57,  59,  62,  67,  72,  77,
        47,  49,  50,  52,  53,  54,  56,  57,  58,  60,  63,  66,  69,  74,  79,  84,
        48,  49,  51,  52,  53,  56,  58,  61,  64,  67,  70,  73,  77,  82,  87,  92,
        49,  50,  51,  51,  52,  57,  61,  65,  70,  73,  77,  81,  84,  89,  94,  99,
        51,  51,  51,  51,  52,  58,  64,  70,  76,  80,  84,  88,  92,  97, 102, 107,
        55,  55,  55,  54,  54,  60,  67,  73,  80,  85,  90,  95, 100, 105, 111, 116,
        60,  59,  58,  57,  57,  63,  70,  77,  84,  90,  96, 102, 108, 114, 120, 126,
        65,  63,  62,  60,  59,  66,  73,  81,  88,  95, 102, 109, 116, 123, 129, 136,
        70,  68,  66,  64,  62,  69,  77,  84,  92, 100, 108, 116, 124, 131, 139, 146,
        77,  74,  72,  69,  67,  74,  82,  89,  97, 105, 114, 123, 131, 139, 147, 155,
        84,  81,  78,  75,  72,  79,  87,  94, 102, 111, 120, 129, 139, 147, 156, 165,
        92,  88,  84,  81,  77,  84,  92,  99, 107, 116, 126, 136, 146, 155, 165, 174,

        /*Size 64 x 64*/
        64,  62,  60,  57,  55,  53,  51,  48,  46,  47,  47,  48,  48,  49,  49,  50,
        62,  60,  58,  56,  55,  53,  51,  49,  47,  48,  48,  48,  49,  49,  50,  50,
        60,  58,  57,  55,  54,  52,  51,  50,  48,  49,  49,  49,  49,  50,  50,  50,
        57,  56,  55,  54,  53,  52,  51,  50,  49,  49,  50,  50,  50,  50,  50,  51,
        55,  55,  54,  53,  53,  52,  51,  51,  50,  50,  50,  50,  51,  51,  51,  51,
        53,  53,  52,  52,  52,  52,  52,  51,  51,  51,  51,  51,  51,  51,  51,  51,
        51,  51,  51,  51,  51,  52,  52,  52,  52,  52,  52,  52,  52,  52,  51,  51,
        48,  49,  50,  50,  51,  51,  52,  52,  53,  53,  53,  52,  52,  52,  52,  52,
        46,  47,  48,  49,  50,  51,  52,  53,  54,  54,  53,  53,  53,  52,  52,  52,
        47,  48,  49,  49,  50,  51,  52,  53,  54,  54,  54,  54,  54,  54,  54,  54,
        47,  48,  49,  50,  50,  51,  52,  53,  53,  54,  54,  55,  56,  56,  57,  57,
        48,  48,  49,  50,  50,  51,  52,  52,  53,  54,  55,  56,  57,  58,  59,  60,
        48,  49,  49,  50,  51,  51,  52,  52,  53,  54,  56,  57,  58,  60,  61,  62,
        49,  49,  50,  50,  51,  51,  52,  52,  52,  54,  56,  58,  60,  61,  63,  65,
        49,  50,  50,  50,  51,  51,  51,  52,  52,  54,  57,  59,  61,  63,  65,  68,
        50,  50,  50,  51,  51,  51,  51,  52,  52,  54,  57,  60,  62,  65,  68,  70,

        /*Size 128 x 128*/
        64,  63,  62,  61,  60,  58,  57,  56,  55,  54,  53,  52,  51,  50,  48,  47,
        63,  62,  61,  60,  59,  58,  57,  56,  55,  54,  53,  52,  51,  50,  49,  48,
        62,  61,  60,  59,  58,  57,  56,  55,  55,  54,  53,  52,  51,  50,  49,  48,
        61,  60,  59,  58,  57,  57,  56,  55,  54,  53,  53,  52,  51,  50,  49,  49,
        60,  59,  58,  57,  57,  56,  55,  55,  54,  53,  52,  52,  51,  50,  50,  49,
        58,  58,  57,  57,  56,  55,  55,  54,  54,  53,  52,  52,  51,  51,  50,  49,
        57,  57,  56,  56,  55,  55,  54,  54,  53,  53,  52,  52,  51,  51,  50,  50,
        56,  56,  55,  55,  55,  54,  54,  53,  53,  53,  52,  52,  51,  51,  50,  50,
        55,  55,  55,  54,  54,  54,  53,  53,  53,  52,  52,  52,  51,  51,  51,  50,
        54,  54,  54,  53,  53,  53,  53,  53,  52,  52,  52,  52,  51,  51,  51,  51,
        53,  53,  53,  53,  52,  52,  52,  52,  52,  52,  52,  52,  52,  51,  51,  51,
        52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,
        51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  52,  52,  52,  52,  52,  52,
        50,  50,  50,  50,  50,  51,  51,  51,  51,  51,  51,  52,  52,  52,  52,  52,
        48,  49,  49,  49,  50,  50,  50,  50,  51,  51,  51,  52,  52,  52,  52,  53,
        47,  48,  48,  49,  49,  49,  50,  50,  50,  51,  51,  52,  52,  52,  53,  53

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        11,  12,  24,  49,  12,  21,  34,  57,  24,  34,  62,  98,  49,  57,  98, 159,

        /*Size 8 x 8*/
        13,   9,  10,  14,  21,  32,  46,  65,   9,  11,  11,  13,  17,  25,  35,  49,
        10,  11,  16,  20,  24,  32,  43,  57,  14,  13,  20,  28,  35,  44,  56,  72,
        21,  17,  24,  35,  48,  61,  75,  94,  32,  25,  32,  44,  61,  79,  99, 123,
        46,  35,  43,  56,  75,  99, 126, 157,  65,  49,  57,  72,  94, 123, 157, 196,

        /*Size 16 x 16*/
        13,  11,   9,  10,  10,  12,  14,  18,  21,  26,  32,  39,  46,  56,  65,  65,
        11,  11,  10,  10,  10,  12,  14,  16,  19,  24,  28,  34,  40,  49,  57,  57,
        9,  10,  11,  11,  11,  12,  13,  15,  17,  21,  25,  30,  35,  42,  49,  49,
        10,  10,  11,  12,  13,  15,  16,  18,  21,  24,  28,  33,  39,  46,  53,  53,
        10,  10,  11,  13,  16,  18,  20,  22,  24,  28,  32,  37,  43,  50,  57,  57,
        12,  12,  12,  15,  18,  21,  24,  27,  30,  34,  38,  44,  49,  57,  65,  65,
        14,  14,  13,  16,  20,  24,  28,  31,  35,  40,  44,  50,  56,  64,  72,  72,
        18,  16,  15,  18,  22,  27,  31,  36,  41,  47,  52,  59,  66,  74,  83,  83,
        21,  19,  17,  21,  24,  30,  35,  41,  48,  54,  61,  68,  75,  85,  94,  94,
        26,  24,  21,  24,  28,  34,  40,  47,  54,  62,  70,  79,  87,  98, 108, 108,
        32,  28,  25,  28,  32,  38,  44,  52,  61,  70,  79,  89,  99, 111, 123, 123,
        39,  34,  30,  33,  37,  44,  50,  59,  68,  79,  89, 101, 113, 126, 140, 140,
        46,  40,  35,  39,  43,  49,  56,  66,  75,  87,  99, 113, 126, 141, 157, 157,
        56,  49,  42,  46,  50,  57,  64,  74,  85,  98, 111, 126, 141, 159, 176, 176,
        65,  57,  49,  53,  57,  65,  72,  83,  94, 108, 123, 140, 157, 176, 196, 196,
        65,  57,  49,  53,  57,  65,  72,  83,  94, 108, 123, 140, 157, 176, 196, 196,

        /*Size 32 x 32*/
        13,  12,  11,  10,   9,  10,  10,  10,  10,  11,  12,  13,  14,  16,  18,  20,
        12,  12,  11,  10,  10,  10,  10,  10,  10,  11,  12,  13,  14,  15,  17,  19,
        11,  11,  11,  10,  10,  10,  10,  10,  10,  11,  12,  13,  14,  15,  16,  18,
        10,  10,  10,  10,  11,  11,  11,  10,  10,  11,  12,  12,  13,  14,  16,  17,
        9,  10,  10,  11,  11,  11,  11,  11,  11,  11,  12,  12,  13,  14,  15,  16,
        10,  10,  10,  11,  11,  11,  11,  12,  12,  13,  13,  14,  14,  16,  17,  18,
        10,  10,  10,  11,  11,  11,  12,  13,  13,  14,  15,  15,  16,  17,  18,  20,
        10,  10,  10,  10,  11,  12,  13,  14,  15,  15,  16,  17,  18,  19,  20,  21,
        10,  10,  10,  10,  11,  12,  13,  15,  16,  17,  18,  19,  20,  21,  22,  23,
        11,  11,  11,  11,  11,  13,  14,  15,  17,  18,  19,  20,  22,  23,  24,  26,
        12,  12,  12,  12,  12,  13,  15,  16,  18,  19,  21,  22,  24,  25,  27,  28,
        13,  13,  13,  12,  12,  14,  15,  17,  19,  20,  22,  24,  26,  27,  29,  31,
        14,  14,  14,  13,  13,  14,  16,  18,  20,  22,  24,  26,  28,  29,  31,  33,
        16,  15,  15,  14,  14,  16,  17,  19,  21,  23,  25,  27,  29,  32,  34,  36,
        18,  17,  16,  16,  15,  17,  18,  20,  22,  24,  27,  29,  31,  34,  36,  39,
        20,  19,  18,  17,  16,  18,  20,  21,  23,  26,  28,  31,  33,  36,  39,  42,

        /*Size 64 x 64*/
        13,  13,  12,  12,  11,  11,  10,  10,   9,   9,  10,  10,  10,  10,  10,  10,
        13,  12,  12,  12,  11,  11,  10,  10,   9,  10,  10,  10,  10,  10,  10,  10,
        12,  12,  12,  11,  11,  11,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,
        12,  12,  11,  11,  11,  11,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,
        11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,
        11,  11,  11,  11,  11,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,
        10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  10,  10,  10,
        10,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,
        9,   9,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,
        9,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,
        10,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  11,  12,  12,  12,
        10,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  11,  12,  12,  12,  12,
        10,  10,  10,  10,  10,  10,  11,  11,  11,  11,  11,  12,  12,  12,  13,  13,
        10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  12,  12,  12,  13,  13,  14,
        10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  12,  12,  13,  13,  14,  14,
        10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  12,  12,  13,  14,  14,  15,

        /*Size 128 x 128*/
        13,  13,  13,  13,  12,  12,  12,  12,  11,  11,  11,  11,  10,  10,  10,  10,
        13,  13,  13,  12,  12,  12,  12,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        13,  13,  12,  12,  12,  12,  12,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        13,  12,  12,  12,  12,  12,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        12,  12,  12,  12,  12,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        12,  12,  12,  12,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        12,  12,  12,  11,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        12,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,
        11,  11,  11,  11,  11,  11,  11,  11,  11,  11,  10,  10,  10,  10,  10,  10,
        11,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,
        10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  11,  11,  11,
        10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  11,
        10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  11,
        10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  10,  11,  11,  11,  11

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        60,  99, 111, 155,  99, 125, 138, 168, 111, 138, 199, 248, 155, 168, 248, 337,

        /*Size 8 x 8*/
        64,  50, 103, 105, 115, 134, 160, 193,  50,  77, 100,  88,  91, 103, 121, 145,
        103, 100, 123, 118, 117, 126, 141, 164, 105,  88, 118, 140, 150, 159, 174, 195,
        115,  91, 117, 150, 176, 196, 215, 237, 134, 103, 126, 159, 196, 229, 257, 285,
        160, 121, 141, 174, 215, 257, 297, 335, 193, 145, 164, 195, 237, 285, 335, 383,

        /*Size 16 x 16*/
        64,  57,  50,  76, 103, 104, 105, 110, 115, 125, 134, 147, 160, 176, 193, 193,
        57,  60,  63,  82, 101,  99,  97, 100, 103, 111, 119, 130, 141, 155, 169, 169,
        50,  63,  77,  89, 100,  94,  88,  90,  91,  97, 103, 112, 121, 133, 145, 145,
        76,  82,  89, 100, 112, 107, 103, 104, 104, 109, 114, 123, 131, 143, 154, 154,
        103, 101, 100, 112, 123, 121, 118, 117, 117, 121, 126, 133, 141, 152, 164, 164,
        104,  99,  94, 107, 121, 125, 129, 131, 133, 138, 142, 150, 158, 168, 179, 179,
        105,  97,  88, 103, 118, 129, 140, 145, 150, 154, 159, 167, 174, 184, 195, 195,
        110, 100,  90, 104, 117, 131, 145, 154, 163, 170, 178, 186, 194, 205, 216, 216,
        115, 103,  91, 104, 117, 133, 150, 163, 176, 186, 196, 205, 215, 226, 237, 237,
        125, 111,  97, 109, 121, 138, 154, 170, 186, 199, 212, 224, 236, 248, 261, 261,
        134, 119, 103, 114, 126, 142, 159, 178, 196, 212, 229, 243, 257, 271, 285, 285,
        147, 130, 112, 123, 133, 150, 167, 186, 205, 224, 243, 260, 277, 294, 310, 310,
        160, 141, 121, 131, 141, 158, 174, 194, 215, 236, 257, 277, 297, 316, 335, 335,
        176, 155, 133, 143, 152, 168, 184, 205, 226, 248, 271, 294, 316, 337, 359, 359,
        193, 169, 145, 154, 164, 179, 195, 216, 237, 261, 285, 310, 335, 359, 383, 383,
        193, 169, 145, 154, 164, 179, 195, 216, 237, 261, 285, 310, 335, 359, 383, 383,

        /*Size 32 x 32*/
        64,  60,  57,  53,  50,  63,  76,  89, 103, 103, 104, 105, 105, 108, 110, 113,
        60,  59,  59,  58,  57,  68,  79,  91, 102, 102, 101, 101, 101, 103, 105, 107,
        57,  59,  60,  62,  63,  73,  82,  92, 101, 100,  99,  98,  97,  98, 100, 102,
        53,  58,  62,  66,  70,  78,  85,  93, 101,  99,  96,  94,  92,  94,  95,  96,
        50,  57,  63,  70,  77,  83,  89,  94, 100,  97,  94,  91,  88,  89,  90,  90,
        63,  68,  73,  78,  83,  89,  94, 100, 106, 103, 101,  98,  95,  96,  97,  97,
        76,  79,  82,  85,  89,  94, 100, 106, 112, 109, 107, 105, 103, 103, 104, 104,
        89,  91,  92,  93,  94, 100, 106, 112, 117, 116, 114, 112, 110, 110, 110, 111,
        103, 102, 101, 101, 100, 106, 112, 117, 123, 122, 121, 119, 118, 118, 117, 117,
        103, 102, 100,  99,  97, 103, 109, 116, 122, 122, 123, 123, 123, 124, 124, 125,
        104, 101,  99,  96,  94, 101, 107, 114, 121, 123, 125, 127, 129, 130, 131, 132,
        105, 101,  98,  94,  91,  98, 105, 112, 119, 123, 127, 130, 134, 136, 138, 140,
        105, 101,  97,  92,  88,  95, 103, 110, 118, 123, 129, 134, 140, 142, 145, 147,
        108, 103,  98,  94,  89,  96, 103, 110, 118, 124, 130, 136, 142, 146, 149, 153,
        110, 105, 100,  95,  90,  97, 104, 110, 117, 124, 131, 138, 145, 149, 154, 158,
        113, 107, 102,  96,  90,  97, 104, 111, 117, 125, 132, 140, 147, 153, 158, 164,

        /*Size 64 x 64*/
        64,  62,  60,  59,  57,  55,  53,  52,  50,  56,  63,  70,  76,  83,  89,  96,
        62,  61,  60,  59,  58,  57,  55,  54,  53,  59,  65,  72,  78,  84,  90,  96,
        60,  60,  59,  59,  59,  58,  58,  57,  57,  62,  68,  74,  79,  85,  91,  96,
        59,  59,  59,  59,  59,  59,  60,  60,  60,  65,  70,  76,  81,  86,  91,  96,
        57,  58,  59,  59,  60,  61,  62,  63,  63,  68,  73,  78,  82,  87,  92,  97,
        55,  57,  58,  59,  61,  62,  64,  65,  67,  71,  75,  80,  84,  88,  92,  97,
        53,  55,  58,  60,  62,  64,  66,  68,  70,  74,  78,  82,  85,  89,  93,  97,
        52,  54,  57,  60,  63,  65,  68,  71,  74,  77,  80,  84,  87,  90,  94,  97,
        50,  53,  57,  60,  63,  67,  70,  74,  77,  80,  83,  86,  89,  91,  94,  97,
        56,  59,  62,  65,  68,  71,  74,  77,  80,  83,  86,  89,  91,  94,  97, 100,
        63,  65,  68,  70,  73,  75,  78,  80,  83,  86,  89,  91,  94,  97, 100, 103,
        70,  72,  74,  76,  78,  80,  82,  84,  86,  89,  91,  94,  97, 100, 103, 106,
        76,  78,  79,  81,  82,  84,  85,  87,  89,  91,  94,  97, 100, 103, 106, 109,
        83,  84,  85,  86,  87,  88,  89,  90,  91,  94,  97, 100, 103, 106, 109, 112,
        89,  90,  91,  91,  92,  92,  93,  94,  94,  97, 100, 103, 106, 109, 112, 115,
        96,  96,  96,  96,  97,  97,  97,  97,  97, 100, 103, 106, 109, 112, 115, 117,

        /*Size 128 x 128*/
        64,  63,  62,  61,  60,  60,  59,  58,  57,  56,  55,  54,  53,  52,  52,  51,
        63,  62,  62,  61,  60,  59,  59,  58,  57,  57,  56,  55,  54,  54,  53,  52,
        62,  62,  61,  61,  60,  59,  59,  58,  58,  57,  57,  56,  55,  55,  54,  54,
        61,  61,  61,  60,  60,  59,  59,  58,  58,  58,  57,  57,  56,  56,  56,  55,
        60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,  58,  58,  57,  57,  57,
        60,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  58,  58,
        59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  60,  60,  60,  60,  60,
        58,  58,  58,  58,  59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  61,
        57,  57,  58,  58,  59,  59,  59,  60,  60,  61,  61,  61,  62,  62,  63,  63,
        56,  57,  57,  58,  58,  59,  59,  60,  61,  61,  62,  62,  63,  63,  64,  65,
        55,  56,  57,  57,  58,  59,  59,  60,  61,  62,  62,  63,  64,  65,  65,  66,
        54,  55,  56,  57,  58,  59,  60,  60,  61,  62,  63,  64,  65,  66,  67,  68,
        53,  54,  55,  56,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
        52,  54,  55,  56,  57,  59,  60,  61,  62,  63,  65,  66,  67,  68,  69,  71,
        52,  53,  54,  56,  57,  58,  60,  61,  63,  64,  65,  67,  68,  69,  71,  72,
        51,  52,  54,  55,  57,  58,  60,  61,  63,  65,  66,  68,  69,  71,  72,  74

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        24,  38,  43,  58,  38,  48,  52,  63,  43,  52,  74,  90,  58,  63,  90, 117,

        /*Size 8 x 8*/
        25,  20,  40,  41,  44,  51,  60,  72,  20,  30,  39,  34,  36,  40,  47,  55,
        40,  39,  47,  45,  45,  48,  54,  62,  41,  34,  45,  53,  57,  60,  65,  72,
        44,  36,  45,  57,  66,  73,  79,  86,  51,  40,  48,  60,  73,  83,  93, 101,
        60,  47,  54,  65,  79,  93, 105, 117,  72,  55,  62,  72,  86, 101, 117, 131,

        /*Size 16 x 16*/
        25,  23,  20,  30,  40,  40,  41,  43,  44,  48,  51,  56,  60,  66,  72,  72,
        23,  24,  25,  32,  39,  38,  38,  39,  40,  43,  46,  49,  53,  58,  63,  63,
        20,  25,  30,  34,  39,  37,  34,  35,  36,  38,  40,  43,  47,  51,  55,  55,
        30,  32,  34,  39,  43,  41,  40,  40,  40,  42,  44,  47,  50,  54,  58,  58,
        40,  39,  39,  43,  47,  46,  45,  45,  45,  47,  48,  51,  54,  58,  62,  62,
        40,  38,  37,  41,  46,  48,  49,  50,  51,  52,  54,  57,  59,  63,  67,  67,
        41,  38,  34,  40,  45,  49,  53,  55,  57,  58,  60,  63,  65,  69,  72,  72,
        43,  39,  35,  40,  45,  50,  55,  58,  61,  64,  66,  69,  72,  76,  79,  79,
        44,  40,  36,  40,  45,  51,  57,  61,  66,  69,  73,  76,  79,  82,  86,  86,
        48,  43,  38,  42,  47,  52,  58,  64,  69,  74,  78,  82,  86,  90,  94,  94,
        51,  46,  40,  44,  48,  54,  60,  66,  73,  78,  83,  88,  93,  97, 101, 101,
        56,  49,  43,  47,  51,  57,  63,  69,  76,  82,  88,  93,  99, 104, 109, 109,
        60,  53,  47,  50,  54,  59,  65,  72,  79,  86,  93,  99, 105, 111, 117, 117,
        66,  58,  51,  54,  58,  63,  69,  76,  82,  90,  97, 104, 111, 117, 124, 124,
        72,  63,  55,  58,  62,  67,  72,  79,  86,  94, 101, 109, 117, 124, 131, 131,
        72,  63,  55,  58,  62,  67,  72,  79,  86,  94, 101, 109, 117, 124, 131, 131,

        /*Size 32 x 32*/
        25,  24,  23,  21,  20,  25,  30,  35,  40,  40,  40,  40,  41,  42,  43,  43,
        24,  23,  23,  23,  22,  27,  31,  35,  39,  39,  39,  39,  39,  40,  41,  41,
        23,  23,  24,  24,  25,  28,  32,  36,  39,  39,  38,  38,  38,  38,  39,  39,
        21,  23,  24,  26,  27,  30,  33,  36,  39,  38,  37,  37,  36,  36,  37,  37,
        20,  22,  25,  27,  30,  32,  34,  37,  39,  38,  37,  35,  34,  35,  35,  35,
        25,  27,  28,  30,  32,  34,  37,  39,  41,  40,  39,  38,  37,  37,  37,  38,
        30,  31,  32,  33,  34,  37,  39,  41,  43,  42,  41,  41,  40,  40,  40,  40,
        35,  35,  36,  36,  37,  39,  41,  43,  45,  44,  44,  43,  43,  43,  43,  43,
        40,  39,  39,  39,  39,  41,  43,  45,  47,  47,  46,  46,  45,  45,  45,  45,
        40,  39,  39,  38,  38,  40,  42,  44,  47,  47,  47,  47,  47,  47,  48,  48,
        40,  39,  38,  37,  37,  39,  41,  44,  46,  47,  48,  48,  49,  50,  50,  50,
        40,  39,  38,  37,  35,  38,  41,  43,  46,  47,  48,  50,  51,  52,  52,  53,
        41,  39,  38,  36,  34,  37,  40,  43,  45,  47,  49,  51,  53,  54,  55,  56,
        42,  40,  38,  36,  35,  37,  40,  43,  45,  47,  50,  52,  54,  55,  56,  58,
        43,  41,  39,  37,  35,  37,  40,  43,  45,  48,  50,  52,  55,  56,  58,  60,
        43,  41,  39,  37,  35,  38,  40,  43,  45,  48,  50,  53,  56,  58,  60,  61,

        /*Size 64 x 64*/
        25,  25,  24,  23,  23,  22,  21,  20,  20,  22,  25,  27,  30,  32,  35,  37,
        25,  24,  24,  23,  23,  22,  22,  21,  21,  23,  26,  28,  30,  33,  35,  37,
        24,  24,  23,  23,  23,  23,  23,  23,  22,  24,  27,  29,  31,  33,  35,  37,
        23,  23,  23,  23,  23,  23,  23,  24,  24,  26,  28,  29,  31,  33,  35,  37,
        23,  23,  23,  23,  24,  24,  24,  25,  25,  27,  28,  30,  32,  34,  36,  37,
        22,  22,  23,  23,  24,  25,  25,  26,  26,  28,  29,  31,  33,  34,  36,  37,
        21,  22,  23,  23,  24,  25,  26,  27,  27,  29,  30,  32,  33,  35,  36,  38,
        20,  21,  23,  24,  25,  26,  27,  28,  29,  30,  31,  33,  34,  35,  36,  38,
        20,  21,  22,  24,  25,  26,  27,  29,  30,  31,  32,  33,  34,  35,  37,  38,
        22,  23,  24,  26,  27,  28,  29,  30,  31,  32,  33,  34,  35,  37,  38,  39,
        25,  26,  27,  28,  28,  29,  30,  31,  32,  33,  34,  35,  37,  38,  39,  40,
        27,  28,  29,  29,  30,  31,  32,  33,  33,  34,  35,  37,  38,  39,  40,  41,
        30,  30,  31,  31,  32,  33,  33,  34,  34,  35,  37,  38,  39,  40,  41,  42,
        32,  33,  33,  33,  34,  34,  35,  35,  35,  37,  38,  39,  40,  41,  42,  43,
        35,  35,  35,  35,  36,  36,  36,  36,  37,  38,  39,  40,  41,  42,  43,  44,
        37,  37,  37,  37,  37,  37,  38,  38,  38,  39,  40,  41,  42,  43,  44,  45,

        /*Size 128 x 128*/
        25,  25,  25,  24,  24,  24,  23,  23,  23,  22,  22,  21,  21,  21,  20,  20,
        25,  25,  24,  24,  24,  23,  23,  23,  23,  22,  22,  22,  22,  21,  21,  21,
        25,  24,  24,  24,  24,  23,  23,  23,  23,  23,  22,  22,  22,  22,  21,  21,
        24,  24,  24,  24,  24,  23,  23,  23,  23,  23,  23,  22,  22,  22,  22,  22,
        24,  24,  24,  24,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  22,
        24,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,
        23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  24,  24,  24,
        23,  23,  23,  23,  23,  23,  23,  23,  24,  24,  24,  24,  24,  24,  24,  24,
        23,  23,  23,  23,  23,  23,  23,  24,  24,  24,  24,  24,  24,  24,  25,  25,
        22,  22,  23,  23,  23,  23,  23,  24,  24,  24,  24,  24,  25,  25,  25,  25,
        22,  22,  22,  23,  23,  23,  23,  24,  24,  24,  25,  25,  25,  25,  26,  26,
        21,  22,  22,  22,  23,  23,  23,  24,  24,  24,  25,  25,  25,  26,  26,  26,
        21,  22,  22,  22,  23,  23,  23,  24,  24,  25,  25,  25,  26,  26,  27,  27,
        21,  21,  22,  22,  23,  23,  24,  24,  24,  25,  25,  26,  26,  27,  27,  28,
        20,  21,  21,  22,  23,  23,  24,  24,  25,  25,  26,  26,  27,  27,  28,  28,
        20,  21,  21,  22,  22,  23,  24,  24,  25,  25,  26,  26,  27,  28,  28,  29

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        60, 107, 122, 170, 107, 137, 152, 186, 122, 152, 219, 274, 170, 186, 274, 371,

        /*Size 8 x 8*/
        64,  50, 103, 116, 127, 148, 177, 213,  50,  77, 110,  97, 101, 114, 134, 159,
        103, 110, 136, 130, 129, 139, 156, 180, 116,  97, 130, 154, 165, 176, 192, 215,
        127, 101, 129, 165, 194, 216, 237, 261, 148, 114, 139, 176, 216, 252, 283, 314,
        177, 134, 156, 192, 237, 283, 327, 369, 213, 159, 180, 215, 261, 314, 369, 422,

        /*Size 16 x 16*/
        64,  57,  50,  76, 103, 109, 116, 122, 127, 137, 148, 162, 177, 195, 213, 213,
        57,  60,  63,  85, 106, 107, 107, 110, 114, 122, 131, 143, 155, 170, 186, 186,
        50,  63,  77,  94, 110, 104,  97,  99, 101, 107, 114, 124, 134, 146, 159, 159,
        76,  85,  94, 108, 123, 118, 113, 114, 115, 121, 126, 135, 145, 157, 170, 170,
        103, 106, 110, 123, 136, 133, 130, 130, 129, 134, 139, 147, 156, 168, 180, 180,
        109, 107, 104, 118, 133, 137, 142, 144, 147, 152, 157, 165, 174, 186, 197, 197,
        116, 107,  97, 113, 130, 142, 154, 159, 165, 170, 176, 184, 192, 203, 215, 215,
        122, 110,  99, 114, 130, 144, 159, 169, 179, 188, 196, 205, 214, 226, 238, 238,
        127, 114, 101, 115, 129, 147, 165, 179, 194, 205, 216, 226, 237, 249, 261, 261,
        137, 122, 107, 121, 134, 152, 170, 188, 205, 219, 234, 247, 260, 274, 287, 287,
        148, 131, 114, 126, 139, 157, 176, 196, 216, 234, 252, 268, 283, 299, 314, 314,
        162, 143, 124, 135, 147, 165, 184, 205, 226, 247, 268, 286, 305, 323, 341, 341,
        177, 155, 134, 145, 156, 174, 192, 214, 237, 260, 283, 305, 327, 348, 369, 369,
        195, 170, 146, 157, 168, 186, 203, 226, 249, 274, 299, 323, 348, 371, 395, 395,
        213, 186, 159, 170, 180, 197, 215, 238, 261, 287, 314, 341, 369, 395, 422, 422,
        213, 186, 159, 170, 180, 197, 215, 238, 261, 287, 314, 341, 369, 395, 422, 422,

        /*Size 32 x 32*/
        64,  60,  57,  53,  50,  63,  76,  89, 103, 106, 109, 113, 116, 119, 122, 124,
        60,  59,  59,  58,  57,  69,  81,  92, 104, 106, 108, 110, 111, 114, 116, 118,
        57,  59,  60,  62,  63,  74,  85,  96, 106, 106, 107, 107, 107, 108, 110, 112,
        53,  58,  62,  66,  70,  80,  89,  99, 108, 107, 105, 103, 102, 103, 105, 106,
        50,  57,  63,  70,  77,  85,  94, 102, 110, 107, 104, 100,  97,  98,  99, 100,
        63,  69,  74,  80,  85,  93, 101, 109, 117, 114, 111, 108, 105, 106, 107, 107,
        76,  81,  85,  89,  94, 101, 108, 116, 123, 121, 118, 116, 113, 114, 114, 115,
        89,  92,  96,  99, 102, 109, 116, 123, 130, 128, 126, 124, 122, 122, 122, 122,
        103, 104, 106, 108, 110, 117, 123, 130, 136, 134, 133, 131, 130, 130, 130, 129,
        106, 106, 106, 107, 107, 114, 121, 128, 134, 135, 135, 135, 136, 136, 137, 138,
        109, 108, 107, 105, 104, 111, 118, 126, 133, 135, 137, 140, 142, 143, 144, 146,
        113, 110, 107, 103, 100, 108, 116, 124, 131, 135, 140, 144, 148, 150, 152, 154,
        116, 111, 107, 102,  97, 105, 113, 122, 130, 136, 142, 148, 154, 157, 159, 162,
        119, 114, 108, 103,  98, 106, 114, 122, 130, 136, 143, 150, 157, 160, 164, 168,
        122, 116, 110, 105,  99, 107, 114, 122, 130, 137, 144, 152, 159, 164, 169, 174,
        124, 118, 112, 106, 100, 107, 115, 122, 129, 138, 146, 154, 162, 168, 174, 181,

        /*Size 64 x 64*/
        64,  62,  60,  59,  57,  55,  53,  52,  50,  56,  63,  70,  76,  83,  89,  96,
        62,  61,  60,  59,  58,  57,  55,  54,  53,  59,  66,  72,  78,  85,  91,  97,
        60,  60,  59,  59,  59,  58,  58,  57,  57,  63,  69,  75,  81,  86,  92,  98,
        59,  59,  59,  59,  59,  59,  60,  60,  60,  66,  71,  77,  83,  88,  94, 100,
        57,  58,  59,  59,  60,  61,  62,  63,  63,  69,  74,  80,  85,  90,  96, 101,
        55,  57,  58,  59,  61,  62,  64,  65,  67,  72,  77,  82,  87,  92,  97, 102,
        53,  55,  58,  60,  62,  64,  66,  68,  70,  75,  80,  84,  89,  94,  99, 104,
        52,  54,  57,  60,  63,  65,  68,  71,  74,  78,  83,  87,  91,  96, 100, 105,
        50,  53,  57,  60,  63,  67,  70,  74,  77,  81,  85,  89,  94,  98, 102, 106,
        56,  59,  63,  66,  69,  72,  75,  78,  81,  85,  89,  93,  97, 101, 105, 109,
        63,  66,  69,  71,  74,  77,  80,  83,  85,  89,  93,  97, 101, 105, 109, 113,
        70,  72,  75,  77,  80,  82,  84,  87,  89,  93,  97, 101, 105, 108, 112, 116,
        76,  78,  81,  83,  85,  87,  89,  91,  94,  97, 101, 105, 108, 112, 116, 119,
        83,  85,  86,  88,  90,  92,  94,  96,  98, 101, 105, 108, 112, 116, 119, 123,
        89,  91,  92,  94,  96,  97,  99, 100, 102, 105, 109, 112, 116, 119, 123, 126,
        96,  97,  98, 100, 101, 102, 104, 105, 106, 109, 113, 116, 119, 123, 126, 129,

        /*Size 128 x 128*/
        64,  63,  62,  61,  60,  60,  59,  58,  57,  56,  55,  54,  53,  52,  52,  51,
        63,  62,  62,  61,  60,  59,  59,  58,  57,  57,  56,  55,  54,  54,  53,  52,
        62,  62,  61,  61,  60,  59,  59,  58,  58,  57,  57,  56,  55,  55,  54,  54,
        61,  61,  61,  60,  60,  59,  59,  58,  58,  58,  57,  57,  56,  56,  56,  55,
        60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,  58,  58,  57,  57,  57,
        60,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  58,  58,
        59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  60,  60,  60,  60,  60,
        58,  58,  58,  58,  59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  61,
        57,  57,  58,  58,  59,  59,  59,  60,  60,  61,  61,  61,  62,  62,  63,  63,
        56,  57,  57,  58,  58,  59,  59,  60,  61,  61,  62,  62,  63,  63,  64,  65,
        55,  56,  57,  57,  58,  59,  59,  60,  61,  62,  62,  63,  64,  65,  65,  66,
        54,  55,  56,  57,  58,  59,  60,  60,  61,  62,  63,  64,  65,  66,  67,  68,
        53,  54,  55,  56,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
        52,  54,  55,  56,  57,  59,  60,  61,  62,  63,  65,  66,  67,  68,  69,  71,
        52,  53,  54,  56,  57,  58,  60,  61,  63,  64,  65,  67,  68,  69,  71,  72,
        51,  52,  54,  55,  57,  58,  60,  61,  63,  65,  66,  68,  69,  71,  72,  74

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        22,  38,  43,  58,  38,  48,  53,  63,  43,  53,  74,  90,  58,  63,  90, 117,

        /*Size 8 x 8*/
        23,  18,  36,  41,  45,  51,  61,  72,  18,  28,  39,  35,  36,  40,  47,  55,
        36,  39,  47,  45,  45,  48,  54,  62,  41,  35,  45,  53,  57,  60,  65,  72,
        45,  36,  45,  57,  66,  73,  79,  86,  51,  40,  48,  60,  73,  84,  93, 102,
        61,  47,  54,  65,  79,  93, 105, 117,  72,  55,  62,  72,  86, 102, 117, 131,

        /*Size 16 x 16*/
        23,  21,  18,  27,  36,  39,  41,  43,  45,  48,  51,  56,  61,  66,  72,  72,
        21,  22,  23,  30,  38,  38,  38,  39,  40,  43,  46,  50,  54,  58,  63,  63,
        18,  23,  28,  33,  39,  37,  35,  35,  36,  38,  40,  43,  47,  51,  55,  55,
        27,  30,  33,  38,  43,  41,  40,  40,  41,  42,  44,  47,  50,  54,  58,  58,
        36,  38,  39,  43,  47,  46,  45,  45,  45,  47,  48,  51,  54,  58,  62,  62,
        39,  38,  37,  41,  46,  48,  49,  50,  51,  53,  54,  57,  60,  63,  67,  67,
        41,  38,  35,  40,  45,  49,  53,  55,  57,  58,  60,  63,  65,  69,  72,  72,
        43,  39,  35,  40,  45,  50,  55,  58,  61,  64,  66,  69,  72,  76,  79,  79,
        45,  40,  36,  41,  45,  51,  57,  61,  66,  69,  73,  76,  79,  83,  86,  86,
        48,  43,  38,  42,  47,  53,  58,  64,  69,  74,  78,  82,  86,  90,  94,  94,
        51,  46,  40,  44,  48,  54,  60,  66,  73,  78,  84,  88,  93,  97, 102, 102,
        56,  50,  43,  47,  51,  57,  63,  69,  76,  82,  88,  94,  99, 104, 109, 109,
        61,  54,  47,  50,  54,  60,  65,  72,  79,  86,  93,  99, 105, 111, 117, 117,
        66,  58,  51,  54,  58,  63,  69,  76,  83,  90,  97, 104, 111, 117, 124, 124,
        72,  63,  55,  58,  62,  67,  72,  79,  86,  94, 102, 109, 117, 124, 131, 131,
        72,  63,  55,  58,  62,  67,  72,  79,  86,  94, 102, 109, 117, 124, 131, 131,

        /*Size 32 x 32*/
        23,  22,  21,  19,  18,  23,  27,  32,  36,  37,  39,  40,  41,  42,  43,  44,
        22,  21,  21,  21,  20,  25,  29,  33,  37,  37,  38,  39,  39,  40,  41,  42,
        21,  21,  22,  22,  23,  26,  30,  34,  38,  38,  38,  38,  38,  38,  39,  40,
        19,  21,  22,  24,  25,  28,  32,  35,  38,  38,  37,  37,  36,  37,  37,  37,
        18,  20,  23,  25,  28,  30,  33,  36,  39,  38,  37,  36,  35,  35,  35,  35,
        23,  25,  26,  28,  30,  33,  36,  38,  41,  40,  39,  38,  37,  37,  38,  38,
        27,  29,  30,  32,  33,  36,  38,  41,  43,  42,  41,  41,  40,  40,  40,  40,
        32,  33,  34,  35,  36,  38,  41,  43,  45,  44,  44,  43,  43,  43,  43,  43,
        36,  37,  38,  38,  39,  41,  43,  45,  47,  47,  46,  46,  45,  45,  45,  45,
        37,  37,  38,  38,  38,  40,  42,  44,  47,  47,  47,  47,  47,  47,  48,  48,
        39,  38,  38,  37,  37,  39,  41,  44,  46,  47,  48,  49,  49,  50,  50,  51,
        40,  39,  38,  37,  36,  38,  41,  43,  46,  47,  49,  50,  51,  52,  53,  53,
        41,  39,  38,  36,  35,  37,  40,  43,  45,  47,  49,  51,  53,  54,  55,  56,
        42,  40,  38,  37,  35,  37,  40,  43,  45,  47,  50,  52,  54,  55,  57,  58,
        43,  41,  39,  37,  35,  38,  40,  43,  45,  48,  50,  53,  55,  57,  58,  60,
        44,  42,  40,  37,  35,  38,  40,  43,  45,  48,  51,  53,  56,  58,  60,  62,

        /*Size 64 x 64*/
        23,  22,  22,  21,  21,  20,  19,  19,  18,  20,  23,  25,  27,  29,  32,  34,
        22,  22,  22,  21,  21,  20,  20,  20,  19,  21,  24,  26,  28,  30,  32,  34,
        22,  22,  21,  21,  21,  21,  21,  21,  20,  22,  25,  27,  29,  31,  33,  35,
        21,  21,  21,  21,  21,  21,  21,  22,  22,  24,  25,  27,  29,  31,  33,  35,
        21,  21,  21,  21,  22,  22,  22,  22,  23,  25,  26,  28,  30,  32,  34,  36,
        20,  20,  21,  21,  22,  22,  23,  23,  24,  26,  27,  29,  31,  33,  34,  36,
        19,  20,  21,  21,  22,  23,  24,  24,  25,  27,  28,  30,  32,  33,  35,  37,
        19,  20,  21,  22,  22,  23,  24,  25,  26,  28,  29,  31,  32,  34,  35,  37,
        18,  19,  20,  22,  23,  24,  25,  26,  28,  29,  30,  32,  33,  35,  36,  37,
        20,  21,  22,  24,  25,  26,  27,  28,  29,  30,  32,  33,  34,  36,  37,  38,
        23,  24,  25,  25,  26,  27,  28,  29,  30,  32,  33,  34,  36,  37,  38,  40,
        25,  26,  27,  27,  28,  29,  30,  31,  32,  33,  34,  36,  37,  38,  39,  41,
        27,  28,  29,  29,  30,  31,  32,  32,  33,  34,  36,  37,  38,  39,  41,  42,
        29,  30,  31,  31,  32,  33,  33,  34,  35,  36,  37,  38,  39,  40,  42,  43,
        32,  32,  33,  33,  34,  34,  35,  35,  36,  37,  38,  39,  41,  42,  43,  44,
        34,  34,  35,  35,  36,  36,  37,  37,  37,  38,  40,  41,  42,  43,  44,  45,

        /*Size 128 x 128*/
        23,  23,  22,  22,  22,  21,  21,  21,  21,  20,  20,  20,  19,  19,  19,  18,
        23,  22,  22,  22,  22,  21,  21,  21,  21,  20,  20,  20,  20,  19,  19,  19,
        22,  22,  22,  22,  22,  21,  21,  21,  21,  21,  20,  20,  20,  20,  20,  19,
        22,  22,  22,  22,  21,  21,  21,  21,  21,  21,  21,  20,  20,  20,  20,  20,
        22,  22,  22,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  20,
        21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,
        21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  21,  22,  22,
        21,  21,  21,  21,  21,  21,  21,  21,  21,  22,  22,  22,  22,  22,  22,  22,
        21,  21,  21,  21,  21,  21,  21,  21,  22,  22,  22,  22,  22,  22,  22,  23,
        20,  20,  21,  21,  21,  21,  21,  22,  22,  22,  22,  22,  23,  23,  23,  23,
        20,  20,  20,  21,  21,  21,  21,  22,  22,  22,  22,  23,  23,  23,  23,  24,
        20,  20,  20,  20,  21,  21,  21,  22,  22,  22,  23,  23,  23,  24,  24,  24,
        19,  20,  20,  20,  21,  21,  21,  22,  22,  23,  23,  23,  24,  24,  24,  25,
        19,  19,  20,  20,  21,  21,  21,  22,  22,  23,  23,  24,  24,  24,  25,  25,
        19,  19,  20,  20,  21,  21,  22,  22,  22,  23,  23,  24,  24,  25,  25,  26,
        18,  19,  19,  20,  20,  21,  22,  22,  23,  23,  24,  24,  25,  25,  26,  26

      }
    }
  },
  {
    /* QM level 2*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        53,  59, 102, 167,  59,  92, 132, 183, 102, 132, 192, 240, 167, 183, 240, 289,

        /*Size 8 x 8*/
        64,  47,  52,  69,  95, 127, 162, 199,  47,  55,  52,  62,  81, 106, 136, 169,
        52,  52,  75,  89, 105, 128, 155, 185,  69,  62,  89, 115, 137, 159, 183, 210,
        95,  81, 105, 137, 166, 191, 215, 238, 127, 106, 128, 159, 191, 219, 244, 265,
        162, 136, 155, 183, 215, 244, 268, 289, 199, 169, 185, 210, 238, 265, 289, 309,

        /*Size 16 x 16*/
        64,  56,  47,  49,  52,  60,  69,  82,  95, 111, 127, 144, 162, 181, 199, 199,
        56,  53,  51,  51,  52,  59,  65,  77,  88, 102, 116, 133, 149, 167, 184, 184,
        47,  51,  55,  54,  52,  57,  62,  71,  81,  93, 106, 121, 136, 152, 169, 169,
        49,  51,  54,  59,  64,  69,  75,  84,  93, 105, 117, 131, 145, 161, 177, 177,
        52,  52,  52,  64,  75,  82,  89,  97, 105, 116, 128, 141, 155, 170, 185, 185,
        60,  59,  57,  69,  82,  92, 102, 111, 121, 132, 143, 156, 169, 183, 198, 198,
        69,  65,  62,  75,  89, 102, 115, 126, 137, 148, 159, 171, 183, 196, 210, 210,
        82,  77,  71,  84,  97, 111, 126, 139, 151, 163, 175, 187, 199, 211, 224, 224,
        95,  88,  81,  93, 105, 121, 137, 151, 166, 179, 191, 203, 215, 226, 238, 238,
        111, 102,  93, 105, 116, 132, 148, 163, 179, 192, 205, 217, 229, 240, 252, 252,
        127, 116, 106, 117, 128, 143, 159, 175, 191, 205, 219, 231, 244, 254, 265, 265,
        144, 133, 121, 131, 141, 156, 171, 187, 203, 217, 231, 244, 256, 267, 277, 277,
        162, 149, 136, 145, 155, 169, 183, 199, 215, 229, 244, 256, 268, 279, 289, 289,
        181, 167, 152, 161, 170, 183, 196, 211, 226, 240, 254, 267, 279, 289, 299, 299,
        199, 184, 169, 177, 185, 198, 210, 224, 238, 252, 265, 277, 289, 299, 309, 309,
        199, 184, 169, 177, 185, 198, 210, 224, 238, 252, 265, 277, 289, 299, 309, 309,

        /*Size 32 x 32*/
        64,  60,  56,  51,  47,  48,  49,  50,  52,  56,  60,  65,  69,  75,  82,  88,
        60,  57,  54,  52,  49,  50,  50,  51,  52,  56,  59,  63,  67,  73,  79,  85,
        56,  54,  53,  52,  51,  51,  51,  52,  52,  55,  59,  62,  65,  71,  77,  82,
        51,  52,  52,  53,  53,  53,  52,  52,  52,  55,  58,  61,  64,  69,  74,  79,
        47,  49,  51,  53,  55,  54,  54,  53,  52,  55,  57,  59,  62,  66,  71,  76,
        48,  50,  51,  53,  54,  55,  56,  57,  58,  61,  63,  66,  68,  73,  78,  82,
        49,  50,  51,  52,  54,  56,  59,  61,  64,  66,  69,  72,  75,  80,  84,  88,
        50,  51,  52,  52,  53,  57,  61,  65,  69,  72,  75,  79,  82,  86,  90,  95,
        52,  52,  52,  52,  52,  58,  64,  69,  75,  78,  82,  85,  89,  93,  97, 101,
        56,  56,  55,  55,  55,  61,  66,  72,  78,  82,  87,  91,  95, 100, 104, 109,
        60,  59,  59,  58,  57,  63,  69,  75,  82,  87,  92,  97, 102, 107, 111, 116,
        65,  63,  62,  61,  59,  66,  72,  79,  85,  91,  97, 103, 109, 114, 119, 124,
        69,  67,  65,  64,  62,  68,  75,  82,  89,  95, 102, 109, 115, 121, 126, 131,
        75,  73,  71,  69,  66,  73,  80,  86,  93, 100, 107, 114, 121, 126, 132, 138,
        82,  79,  77,  74,  71,  78,  84,  90,  97, 104, 111, 119, 126, 132, 139, 145,
        88,  85,  82,  79,  76,  82,  88,  95, 101, 109, 116, 124, 131, 138, 145, 152,

        /*Size 64 x 64*/
        64,  62,  60,  58,  56,  54,  51,  49,  47,  48,  48,  49,  49,  50,  50,  51,
        62,  60,  58,  57,  55,  53,  52,  50,  48,  49,  49,  49,  50,  50,  51,  51,
        60,  58,  57,  56,  54,  53,  52,  50,  49,  49,  50,  50,  50,  51,  51,  51,
        58,  57,  56,  55,  54,  53,  52,  51,  50,  50,  50,  51,  51,  51,  51,  52,
        56,  55,  54,  54,  53,  53,  52,  52,  51,  51,  51,  51,  51,  52,  52,  52,
        54,  53,  53,  53,  53,  53,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,
        51,  52,  52,  52,  52,  52,  53,  53,  53,  53,  53,  53,  52,  52,  52,  52,
        49,  50,  50,  51,  52,  52,  53,  53,  54,  54,  53,  53,  53,  53,  53,  52,
        47,  48,  49,  50,  51,  52,  53,  54,  55,  54,  54,  54,  54,  53,  53,  53,
        48,  49,  49,  50,  51,  52,  53,  54,  54,  55,  55,  55,  55,  55,  55,  55,
        48,  49,  50,  50,  51,  52,  53,  53,  54,  55,  55,  56,  56,  56,  57,  57,
        49,  49,  50,  51,  51,  52,  53,  53,  54,  55,  56,  56,  57,  58,  59,  60,
        49,  50,  50,  51,  51,  52,  52,  53,  54,  55,  56,  57,  59,  60,  61,  62,
        50,  50,  51,  51,  52,  52,  52,  53,  53,  55,  56,  58,  60,  61,  63,  65,
        50,  51,  51,  51,  52,  52,  52,  53,  53,  55,  57,  59,  61,  63,  65,  67,
        51,  51,  51,  52,  52,  52,  52,  52,  53,  55,  57,  60,  62,  65,  67,  70,

        /*Size 128 x 128*/
        64,  63,  62,  61,  60,  59,  58,  57,  56,  55,  54,  52,  51,  50,  49,  48,
        63,  62,  61,  60,  59,  58,  57,  56,  55,  54,  53,  52,  52,  51,  50,  49,
        62,  61,  60,  59,  58,  58,  57,  56,  55,  54,  53,  52,  52,  51,  50,  49,
        61,  60,  59,  59,  58,  57,  56,  56,  55,  54,  53,  52,  52,  51,  50,  49,
        60,  59,  58,  58,  57,  56,  56,  55,  54,  54,  53,  52,  52,  51,  50,  50,
        59,  58,  58,  57,  56,  56,  55,  55,  54,  54,  53,  52,  52,  51,  51,  50,
        58,  57,  57,  56,  56,  55,  55,  54,  54,  53,  53,  52,  52,  51,  51,  51,
        57,  56,  56,  56,  55,  55,  54,  54,  54,  53,  53,  52,  52,  52,  51,  51,
        56,  55,  55,  55,  54,  54,  54,  54,  53,  53,  53,  52,  52,  52,  52,  51,
        55,  54,  54,  54,  54,  54,  53,  53,  53,  53,  53,  52,  52,  52,  52,  52,
        54,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  52,  52,  52,  52,  52,
        52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,
        51,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  52,  53,  53,  53,  53,
        50,  51,  51,  51,  51,  51,  51,  52,  52,  52,  52,  52,  53,  53,  53,  53,
        49,  50,  50,  50,  50,  51,  51,  51,  52,  52,  52,  52,  53,  53,  53,  54,
        48,  49,  49,  49,  50,  50,  51,  51,  51,  52,  52,  52,  53,  53,  54,  54

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        15,  16,  31,  57,  16,  27,  42,  65,  31,  42,  70,  98,  57,  65,  98, 135,

        /*Size 8 x 8*/
        18,  13,  14,  20,  28,  40,  55,  73,  13,  15,  14,  17,  23,  32,  44,  58,
        14,  14,  21,  26,  32,  40,  52,  66,  20,  17,  26,  35,  44,  53,  65,  79,
        28,  23,  32,  44,  57,  69,  82,  96,  40,  32,  40,  53,  69,  85, 100, 115,
        55,  44,  52,  65,  82, 100, 118, 135,  73,  58,  66,  79,  96, 115, 135, 153,

        /*Size 16 x 16*/
        18,  15,  13,  13,  14,  17,  20,  24,  28,  34,  40,  47,  55,  64,  73,  73,
        15,  15,  14,  14,  14,  16,  18,  22,  26,  31,  36,  42,  49,  57,  66,  66,
        13,  14,  15,  15,  14,  16,  17,  20,  23,  27,  32,  38,  44,  51,  58,  58,
        13,  14,  15,  16,  18,  20,  22,  24,  27,  32,  36,  42,  48,  55,  62,  62,
        14,  14,  14,  18,  21,  24,  26,  29,  32,  36,  40,  46,  52,  59,  66,  66,
        17,  16,  16,  20,  24,  27,  31,  34,  38,  42,  47,  52,  58,  65,  73,  73,
        20,  18,  17,  22,  26,  31,  35,  40,  44,  49,  53,  59,  65,  72,  79,  79,
        24,  22,  20,  24,  29,  34,  40,  45,  50,  56,  61,  67,  73,  80,  88,  88,
        28,  26,  23,  27,  32,  38,  44,  50,  57,  63,  69,  75,  82,  89,  96,  96,
        34,  31,  27,  32,  36,  42,  49,  56,  63,  70,  77,  84,  91,  98, 106, 106,
        40,  36,  32,  36,  40,  47,  53,  61,  69,  77,  85,  92, 100, 108, 115, 115,
        47,  42,  38,  42,  46,  52,  59,  67,  75,  84,  92, 100, 109, 117, 125, 125,
        55,  49,  44,  48,  52,  58,  65,  73,  82,  91, 100, 109, 118, 126, 135, 135,
        64,  57,  51,  55,  59,  65,  72,  80,  89,  98, 108, 117, 126, 135, 144, 144,
        73,  66,  58,  62,  66,  73,  79,  88,  96, 106, 115, 125, 135, 144, 153, 153,
        73,  66,  58,  62,  66,  73,  79,  88,  96, 106, 115, 125, 135, 144, 153, 153,

        /*Size 32 x 32*/
        18,  17,  15,  14,  13,  13,  13,  14,  14,  15,  17,  18,  20,  22,  24,  26,
        17,  16,  15,  14,  13,  14,  14,  14,  14,  15,  17,  18,  19,  21,  23,  25,
        15,  15,  15,  14,  14,  14,  14,  14,  14,  15,  16,  17,  18,  20,  22,  24,
        14,  14,  14,  14,  14,  14,  14,  14,  14,  15,  16,  17,  18,  19,  21,  23,
        13,  13,  14,  14,  15,  15,  15,  14,  14,  15,  16,  17,  17,  19,  20,  22,
        13,  14,  14,  14,  15,  15,  15,  16,  16,  17,  18,  19,  19,  21,  22,  24,
        13,  14,  14,  14,  15,  15,  16,  17,  18,  19,  20,  21,  22,  23,  24,  26,
        14,  14,  14,  14,  14,  16,  17,  18,  20,  21,  22,  23,  24,  25,  27,  28,
        14,  14,  14,  14,  14,  16,  18,  20,  21,  22,  24,  25,  26,  27,  29,  30,
        15,  15,  15,  15,  15,  17,  19,  21,  22,  24,  25,  27,  28,  30,  31,  33,
        17,  17,  16,  16,  16,  18,  20,  22,  24,  25,  27,  29,  31,  32,  34,  36,
        18,  18,  17,  17,  17,  19,  21,  23,  25,  27,  29,  31,  33,  35,  37,  39,
        20,  19,  18,  18,  17,  19,  22,  24,  26,  28,  31,  33,  35,  37,  40,  42,
        22,  21,  20,  19,  19,  21,  23,  25,  27,  30,  32,  35,  37,  40,  42,  45,
        24,  23,  22,  21,  20,  22,  24,  27,  29,  31,  34,  37,  40,  42,  45,  47,
        26,  25,  24,  23,  22,  24,  26,  28,  30,  33,  36,  39,  42,  45,  47,  50,

        /*Size 64 x 64*/
        18,  17,  17,  16,  15,  15,  14,  13,  13,  13,  13,  13,  13,  14,  14,  14,
        17,  17,  16,  16,  15,  15,  14,  14,  13,  13,  13,  13,  14,  14,  14,  14,
        17,  16,  16,  15,  15,  15,  14,  14,  13,  13,  14,  14,  14,  14,  14,  14,
        16,  16,  15,  15,  15,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,
        15,  15,  15,  15,  15,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,
        15,  15,  15,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,
        14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,
        13,  14,  14,  14,  14,  14,  14,  15,  15,  15,  15,  15,  14,  14,  14,  14,
        13,  13,  13,  14,  14,  14,  14,  15,  15,  15,  15,  15,  15,  15,  14,  14,
        13,  13,  13,  14,  14,  14,  14,  15,  15,  15,  15,  15,  15,  15,  15,  15,
        13,  13,  14,  14,  14,  14,  14,  15,  15,  15,  15,  15,  15,  16,  16,  16,
        13,  13,  14,  14,  14,  14,  14,  15,  15,  15,  15,  16,  16,  16,  16,  17,
        13,  14,  14,  14,  14,  14,  14,  14,  15,  15,  15,  16,  16,  17,  17,  17,
        14,  14,  14,  14,  14,  14,  14,  14,  15,  15,  16,  16,  17,  17,  18,  18,
        14,  14,  14,  14,  14,  14,  14,  14,  14,  15,  16,  16,  17,  18,  18,  19,
        14,  14,  14,  14,  14,  14,  14,  14,  14,  15,  16,  17,  17,  18,  19,  20,

        /*Size 128 x 128*/
        18,  17,  17,  17,  17,  16,  16,  16,  15,  15,  15,  14,  14,  14,  13,  13,
        17,  17,  17,  17,  16,  16,  16,  15,  15,  15,  15,  14,  14,  14,  13,  13,
        17,  17,  17,  16,  16,  16,  16,  15,  15,  15,  15,  14,  14,  14,  14,  13,
        17,  17,  16,  16,  16,  16,  15,  15,  15,  15,  15,  14,  14,  14,  14,  13,
        17,  16,  16,  16,  16,  16,  15,  15,  15,  15,  15,  14,  14,  14,  14,  14,
        16,  16,  16,  16,  16,  15,  15,  15,  15,  15,  14,  14,  14,  14,  14,  14,
        16,  16,  16,  15,  15,  15,  15,  15,  15,  15,  14,  14,  14,  14,  14,  14,
        16,  15,  15,  15,  15,  15,  15,  15,  15,  15,  14,  14,  14,  14,  14,  14,
        15,  15,  15,  15,  15,  15,  15,  15,  15,  14,  14,  14,  14,  14,  14,  14,
        15,  15,  15,  15,  15,  15,  15,  15,  14,  14,  14,  14,  14,  14,  14,  14,
        15,  15,  15,  15,  15,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,
        14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,
        14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,
        14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  15,
        13,  13,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  14,  15,  15,
        13,  13,  13,  13,  14,  14,  14,  14,  14,  14,  14,  14,  14,  15,  15,  15

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        60,  96, 106, 141,  96, 117, 128, 152, 106, 128, 175, 209, 141, 152, 209, 264,

        /*Size 8 x 8*/
        64,  51,  99, 101, 110, 125, 146, 171,  51,  76,  97,  86,  89,  99, 115, 134,
        99,  97, 116, 112, 111, 118, 131, 149, 101,  86, 112, 130, 138, 145, 157, 172,
        110,  89, 111, 138, 158, 173, 187, 202, 125,  99, 118, 145, 173, 196, 216, 233,
        146, 115, 131, 157, 187, 216, 241, 263, 171, 134, 149, 172, 202, 233, 263, 290,

        /*Size 16 x 16*/
        64,  57,  51,  75,  99, 100, 101, 105, 110, 117, 125, 136, 146, 158, 171, 171,
        57,  60,  63,  80,  98,  96,  94,  96,  99, 106, 112, 121, 130, 141, 152, 152,
        51,  63,  76,  86,  97,  91,  86,  88,  89,  94,  99, 107, 115, 124, 134, 134,
        75,  80,  86,  96, 106, 103,  99, 100, 100, 104, 109, 116, 123, 132, 141, 141,
        99,  98,  97, 106, 116, 114, 112, 112, 111, 115, 118, 125, 131, 140, 149, 149,
        100,  96,  91, 103, 114, 117, 121, 123, 125, 128, 132, 138, 144, 152, 160, 160,
        101,  94,  86,  99, 112, 121, 130, 134, 138, 142, 145, 151, 157, 165, 172, 172,
        105,  96,  88, 100, 112, 123, 134, 141, 148, 154, 159, 165, 172, 179, 187, 187,
        110,  99,  89, 100, 111, 125, 138, 148, 158, 166, 173, 180, 187, 194, 202, 202,
        117, 106,  94, 104, 115, 128, 142, 154, 166, 175, 185, 193, 201, 209, 218, 218,
        125, 112,  99, 109, 118, 132, 145, 159, 173, 185, 196, 206, 216, 224, 233, 233,
        136, 121, 107, 116, 125, 138, 151, 165, 180, 193, 206, 217, 228, 238, 248, 248,
        146, 130, 115, 123, 131, 144, 157, 172, 187, 201, 216, 228, 241, 252, 263, 263,
        158, 141, 124, 132, 140, 152, 165, 179, 194, 209, 224, 238, 252, 264, 277, 277,
        171, 152, 134, 141, 149, 160, 172, 187, 202, 218, 233, 248, 263, 277, 290, 290,
        171, 152, 134, 141, 149, 160, 172, 187, 202, 218, 233, 248, 263, 277, 290, 290,

        /*Size 32 x 32*/
        64,  61,  57,  54,  51,  63,  75,  87,  99,  99, 100, 101, 101, 103, 105, 107,
        61,  60,  59,  58,  57,  67,  78,  88,  98,  98,  98,  98,  97,  99, 101, 103,
        57,  59,  60,  62,  63,  72,  80,  89,  98,  97,  96,  95,  94,  95,  96,  98,
        54,  58,  62,  66,  70,  76,  83,  90,  97,  95,  93,  92,  90,  91,  92,  93,
        51,  57,  63,  70,  76,  81,  86,  91,  97,  94,  91,  89,  86,  87,  88,  88,
        63,  67,  72,  76,  81,  86,  91,  96, 101,  99,  97,  95,  92,  93,  94,  94,
        75,  78,  80,  83,  86,  91,  96, 101, 106, 105, 103, 101,  99,  99, 100, 100,
        87,  88,  89,  90,  91,  96, 101, 106, 111, 110, 108, 107, 105, 105, 106, 106,
        99,  98,  98,  97,  97, 101, 106, 111, 116, 115, 114, 113, 112, 112, 112, 111,
        99,  98,  97,  95,  94,  99, 105, 110, 115, 115, 116, 116, 116, 117, 117, 117,
        100,  98,  96,  93,  91,  97, 103, 108, 114, 116, 117, 119, 121, 122, 123, 124,
        101,  98,  95,  92,  89,  95, 101, 107, 113, 116, 119, 122, 125, 127, 128, 130,
        101,  97,  94,  90,  86,  92,  99, 105, 112, 116, 121, 125, 130, 132, 134, 136,
        103,  99,  95,  91,  87,  93,  99, 105, 112, 117, 122, 127, 132, 135, 137, 140,
        105, 101,  96,  92,  88,  94, 100, 106, 112, 117, 123, 128, 134, 137, 141, 144,
        107, 103,  98,  93,  88,  94, 100, 106, 111, 117, 124, 130, 136, 140, 144, 149,

        /*Size 64 x 64*/
        64,  62,  61,  59,  57,  56,  54,  52,  51,  57,  63,  69,  75,  81,  87,  93,
        62,  61,  60,  59,  58,  57,  56,  55,  54,  59,  65,  70,  76,  82,  87,  93,
        61,  60,  60,  59,  59,  58,  58,  57,  57,  62,  67,  72,  78,  83,  88,  93,
        59,  59,  59,  59,  60,  60,  60,  60,  60,  65,  70,  74,  79,  84,  88,  93,
        57,  58,  59,  60,  60,  61,  62,  63,  63,  68,  72,  76,  80,  85,  89,  93,
        56,  57,  58,  60,  61,  62,  64,  65,  66,  70,  74,  78,  82,  86,  90,  93,
        54,  56,  58,  60,  62,  64,  66,  68,  70,  73,  76,  80,  83,  87,  90,  94,
        52,  55,  57,  60,  63,  65,  68,  70,  73,  76,  79,  82,  85,  88,  91,  94,
        51,  54,  57,  60,  63,  66,  70,  73,  76,  79,  81,  84,  86,  89,  91,  94,
        57,  59,  62,  65,  68,  70,  73,  76,  79,  81,  84,  86,  89,  91,  94,  96,
        63,  65,  67,  70,  72,  74,  76,  79,  81,  84,  86,  89,  91,  94,  96,  99,
        69,  70,  72,  74,  76,  78,  80,  82,  84,  86,  89,  91,  94,  96,  99, 101,
        75,  76,  78,  79,  80,  82,  83,  85,  86,  89,  91,  94,  96,  99, 101, 104,
        81,  82,  83,  84,  85,  86,  87,  88,  89,  91,  94,  96,  99, 101, 104, 106,
        87,  87,  88,  88,  89,  90,  90,  91,  91,  94,  96,  99, 101, 104, 106, 109,
        93,  93,  93,  93,  93,  93,  94,  94,  94,  96,  99, 101, 104, 106, 109, 111,

        /*Size 128 x 128*/
        64,  63,  62,  61,  61,  60,  59,  58,  57,  56,  56,  55,  54,  53,  52,  51,
        63,  62,  62,  61,  60,  60,  59,  58,  58,  57,  56,  56,  55,  54,  53,  53,
        62,  62,  61,  61,  60,  60,  59,  59,  58,  57,  57,  56,  56,  55,  55,  54,
        61,  61,  61,  60,  60,  60,  59,  59,  58,  58,  58,  57,  57,  56,  56,  56,
        61,  60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,  58,  58,  57,  57,
        60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,
        59,  59,  59,  59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  60,  60,  60,
        58,  58,  59,  59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  61,
        57,  58,  58,  58,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,  63,  63,
        56,  57,  57,  58,  59,  59,  60,  60,  61,  61,  62,  62,  63,  63,  64,  64,
        56,  56,  57,  58,  58,  59,  60,  60,  61,  62,  62,  63,  64,  64,  65,  66,
        55,  56,  56,  57,  58,  59,  60,  61,  61,  62,  63,  64,  65,  66,  66,  67,
        54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
        53,  54,  55,  56,  58,  59,  60,  61,  62,  63,  64,  66,  67,  68,  69,  70,
        52,  53,  55,  56,  57,  59,  60,  61,  63,  64,  65,  66,  68,  69,  70,  72,
        51,  53,  54,  56,  57,  59,  60,  61,  63,  64,  66,  67,  69,  70,  72,  73

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        27,  42,  46,  61,  42,  51,  56,  65,  46,  56,  74,  87,  61,  65,  87, 106,

        /*Size 8 x 8*/
        29,  23,  44,  45,  48,  54,  63,  72,  23,  34,  43,  38,  40,  44,  50,  58,
        44,  43,  51,  49,  49,  52,  57,  64,  45,  38,  49,  56,  59,  63,  67,  73,
        48,  40,  49,  59,  68,  73,  78,  84,  54,  44,  52,  63,  73,  82,  89,  96,
        63,  50,  57,  67,  78,  89,  98, 106,  72,  58,  64,  73,  84,  96, 106, 115,

        /*Size 16 x 16*/
        29,  26,  23,  33,  44,  44,  45,  46,  48,  51,  54,  59,  63,  68,  72,  72,
        26,  27,  29,  36,  43,  42,  41,  43,  44,  46,  49,  53,  56,  61,  65,  65,
        23,  29,  34,  38,  43,  40,  38,  39,  40,  42,  44,  47,  50,  54,  58,  58,
        33,  36,  38,  42,  47,  45,  44,  44,  44,  46,  48,  51,  53,  57,  61,  61,
        44,  43,  43,  47,  51,  50,  49,  49,  49,  50,  52,  54,  57,  60,  64,  64,
        44,  42,  40,  45,  50,  51,  53,  53,  54,  56,  57,  59,  62,  65,  68,  68,
        45,  41,  38,  44,  49,  53,  56,  58,  59,  61,  63,  65,  67,  70,  73,  73,
        46,  43,  39,  44,  49,  53,  58,  61,  63,  66,  68,  70,  73,  75,  78,  78,
        48,  44,  40,  44,  49,  54,  59,  63,  68,  70,  73,  76,  78,  81,  84,  84,
        51,  46,  42,  46,  50,  56,  61,  66,  70,  74,  78,  81,  84,  87,  90,  90,
        54,  49,  44,  48,  52,  57,  63,  68,  73,  78,  82,  86,  89,  92,  96,  96,
        59,  53,  47,  51,  54,  59,  65,  70,  76,  81,  86,  90,  94,  97, 101, 101,
        63,  56,  50,  53,  57,  62,  67,  73,  78,  84,  89,  94,  98, 102, 106, 106,
        68,  61,  54,  57,  60,  65,  70,  75,  81,  87,  92,  97, 102, 106, 111, 111,
        72,  65,  58,  61,  64,  68,  73,  78,  84,  90,  96, 101, 106, 111, 115, 115,
        72,  65,  58,  61,  64,  68,  73,  78,  84,  90,  96, 101, 106, 111, 115, 115,

        /*Size 32 x 32*/
        29,  27,  26,  24,  23,  28,  33,  38,  44,  44,  44,  44,  45,  45,  46,  47,
        27,  27,  27,  26,  26,  30,  35,  39,  43,  43,  43,  43,  43,  44,  44,  45,
        26,  27,  27,  28,  29,  32,  36,  39,  43,  43,  42,  42,  41,  42,  43,  43,
        24,  26,  28,  30,  31,  34,  37,  40,  43,  42,  41,  41,  40,  40,  41,  41,
        23,  26,  29,  31,  34,  36,  38,  40,  43,  41,  40,  39,  38,  39,  39,  39,
        28,  30,  32,  34,  36,  38,  40,  42,  45,  44,  43,  42,  41,  41,  41,  42,
        33,  35,  36,  37,  38,  40,  42,  45,  47,  46,  45,  44,  44,  44,  44,  44,
        38,  39,  39,  40,  40,  42,  45,  47,  49,  48,  47,  47,  46,  46,  46,  46,
        44,  43,  43,  43,  43,  45,  47,  49,  51,  50,  50,  49,  49,  49,  49,  49,
        44,  43,  43,  42,  41,  44,  46,  48,  50,  50,  50,  51,  51,  51,  51,  51,
        44,  43,  42,  41,  40,  43,  45,  47,  50,  50,  51,  52,  53,  53,  53,  54,
        44,  43,  42,  41,  39,  42,  44,  47,  49,  51,  52,  53,  54,  55,  56,  56,
        45,  43,  41,  40,  38,  41,  44,  46,  49,  51,  53,  54,  56,  57,  58,  59,
        45,  44,  42,  40,  39,  41,  44,  46,  49,  51,  53,  55,  57,  58,  59,  60,
        46,  44,  43,  41,  39,  41,  44,  46,  49,  51,  53,  56,  58,  59,  61,  62,
        47,  45,  43,  41,  39,  42,  44,  46,  49,  51,  54,  56,  59,  60,  62,  64,

        /*Size 64 x 64*/
        29,  28,  27,  27,  26,  25,  24,  24,  23,  26,  28,  31,  33,  36,  38,  41,
        28,  28,  27,  27,  26,  26,  25,  25,  24,  27,  29,  32,  34,  36,  39,  41,
        27,  27,  27,  27,  27,  26,  26,  26,  26,  28,  30,  32,  35,  37,  39,  41,
        27,  27,  27,  27,  27,  27,  27,  27,  27,  29,  31,  33,  35,  37,  39,  41,
        26,  26,  27,  27,  27,  28,  28,  28,  29,  30,  32,  34,  36,  38,  39,  41,
        25,  26,  26,  27,  28,  28,  29,  29,  30,  32,  33,  35,  36,  38,  40,  41,
        24,  25,  26,  27,  28,  29,  30,  30,  31,  33,  34,  36,  37,  38,  40,  41,
        24,  25,  26,  27,  28,  29,  30,  32,  33,  34,  35,  36,  38,  39,  40,  41,
        23,  24,  26,  27,  29,  30,  31,  33,  34,  35,  36,  37,  38,  39,  40,  41,
        26,  27,  28,  29,  30,  32,  33,  34,  35,  36,  37,  38,  39,  40,  41,  42,
        28,  29,  30,  31,  32,  33,  34,  35,  36,  37,  38,  39,  40,  41,  42,  44,
        31,  32,  32,  33,  34,  35,  36,  36,  37,  38,  39,  40,  41,  42,  43,  45,
        33,  34,  35,  35,  36,  36,  37,  38,  38,  39,  40,  41,  42,  43,  45,  46,
        36,  36,  37,  37,  38,  38,  38,  39,  39,  40,  41,  42,  43,  45,  46,  47,
        38,  39,  39,  39,  39,  40,  40,  40,  40,  41,  42,  43,  45,  46,  47,  48,
        41,  41,  41,  41,  41,  41,  41,  41,  41,  42,  44,  45,  46,  47,  48,  49,

        /*Size 128 x 128*/
        29,  28,  28,  28,  27,  27,  27,  26,  26,  26,  25,  25,  24,  24,  24,  23,
        28,  28,  28,  28,  27,  27,  27,  26,  26,  26,  25,  25,  25,  25,  24,  24,
        28,  28,  28,  27,  27,  27,  27,  26,  26,  26,  26,  26,  25,  25,  25,  25,
        28,  28,  27,  27,  27,  27,  27,  27,  26,  26,  26,  26,  26,  26,  25,  25,
        27,  27,  27,  27,  27,  27,  27,  27,  27,  26,  26,  26,  26,  26,  26,  26,
        27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  26,
        27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,
        26,  26,  26,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  28,  28,  28,
        26,  26,  26,  26,  27,  27,  27,  27,  27,  27,  28,  28,  28,  28,  28,  28,
        26,  26,  26,  26,  26,  27,  27,  27,  27,  28,  28,  28,  28,  28,  29,  29,
        25,  25,  26,  26,  26,  27,  27,  27,  28,  28,  28,  28,  29,  29,  29,  30,
        25,  25,  26,  26,  26,  27,  27,  27,  28,  28,  28,  29,  29,  29,  30,  30,
        24,  25,  25,  26,  26,  27,  27,  27,  28,  28,  29,  29,  30,  30,  30,  31,
        24,  25,  25,  26,  26,  27,  27,  28,  28,  28,  29,  29,  30,  30,  31,  31,
        24,  24,  25,  25,  26,  27,  27,  28,  28,  29,  29,  30,  30,  31,  32,  32,
        23,  24,  25,  25,  26,  26,  27,  28,  28,  29,  30,  30,  31,  31,  32,  33

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        60, 102, 116, 154, 102, 128, 140, 166, 116, 140, 191, 228, 154, 166, 228, 288,

        /*Size 8 x 8*/
        64,  51,  99, 111, 120, 137, 160, 187,  51,  76, 106,  94,  97, 109, 125, 146,
        99, 106, 127, 122, 122, 130, 144, 162, 111,  94, 122, 142, 151, 159, 171, 188,
        120,  97, 122, 151, 173, 189, 203, 220, 137, 109, 130, 159, 189, 214, 235, 254,
        160, 125, 144, 171, 203, 235, 262, 286, 187, 146, 162, 188, 220, 254, 286, 315,

        /*Size 16 x 16*/
        64,  57,  51,  75,  99, 105, 111, 115, 120, 128, 137, 148, 160, 173, 187, 187,
        57,  60,  63,  83, 102, 102, 103, 106, 109, 116, 123, 133, 142, 154, 166, 166,
        51,  63,  76,  91, 106, 100,  94,  96,  97, 103, 109, 117, 125, 136, 146, 146,
        75,  83,  91, 104, 116, 112, 108, 109, 110, 114, 119, 127, 134, 144, 154, 154,
        99, 102, 106, 116, 127, 125, 122, 122, 122, 126, 130, 137, 144, 153, 162, 162,
        105, 102, 100, 112, 125, 128, 132, 134, 136, 140, 144, 151, 157, 166, 175, 175,
        111, 103,  94, 108, 122, 132, 142, 146, 151, 155, 159, 165, 171, 180, 188, 188,
        115, 106,  96, 109, 122, 134, 146, 154, 162, 168, 174, 180, 187, 196, 204, 204,
        120, 109,  97, 110, 122, 136, 151, 162, 173, 181, 189, 196, 203, 212, 220, 220,
        128, 116, 103, 114, 126, 140, 155, 168, 181, 191, 201, 210, 219, 228, 237, 237,
        137, 123, 109, 119, 130, 144, 159, 174, 189, 201, 214, 224, 235, 244, 254, 254,
        148, 133, 117, 127, 137, 151, 165, 180, 196, 210, 224, 236, 249, 259, 270, 270,
        160, 142, 125, 134, 144, 157, 171, 187, 203, 219, 235, 249, 262, 274, 286, 286,
        173, 154, 136, 144, 153, 166, 180, 196, 212, 228, 244, 259, 274, 288, 301, 301,
        187, 166, 146, 154, 162, 175, 188, 204, 220, 237, 254, 270, 286, 301, 315, 315,
        187, 166, 146, 154, 162, 175, 188, 204, 220, 237, 254, 270, 286, 301, 315, 315,

        /*Size 32 x 32*/
        64,  61,  57,  54,  51,  63,  75,  87,  99, 102, 105, 108, 111, 113, 115, 118,
        61,  60,  59,  58,  57,  68,  79,  90, 101, 102, 104, 105, 107, 109, 110, 112,
        57,  59,  60,  62,  63,  73,  83,  93, 102, 102, 102, 102, 103, 104, 106, 107,
        54,  58,  62,  66,  70,  78,  87,  95, 104, 103, 101, 100,  98, 100, 101, 102,
        51,  57,  63,  70,  76,  83,  91,  98, 106, 103, 100,  97,  94,  95,  96,  97,
        63,  68,  73,  78,  83,  90,  97, 104, 111, 109, 106, 104, 101, 102, 102, 103,
        75,  79,  83,  87,  91,  97, 104, 110, 116, 114, 112, 110, 108, 109, 109, 109,
        87,  90,  93,  95,  98, 104, 110, 116, 122, 120, 119, 117, 115, 115, 115, 116,
        99, 101, 102, 104, 106, 111, 116, 122, 127, 126, 125, 124, 122, 122, 122, 122,
        102, 102, 102, 103, 103, 109, 114, 120, 126, 126, 127, 127, 127, 128, 128, 128,
        105, 104, 102, 101, 100, 106, 112, 119, 125, 127, 128, 130, 132, 133, 134, 135,
        108, 105, 102, 100,  97, 104, 110, 117, 124, 127, 130, 134, 137, 138, 140, 142,
        111, 107, 103,  98,  94, 101, 108, 115, 122, 127, 132, 137, 142, 144, 146, 148,
        113, 109, 104, 100,  95, 102, 109, 115, 122, 128, 133, 138, 144, 147, 150, 153,
        115, 110, 106, 101,  96, 102, 109, 115, 122, 128, 134, 140, 146, 150, 154, 158,
        118, 112, 107, 102,  97, 103, 109, 116, 122, 128, 135, 142, 148, 153, 158, 162,

        /*Size 64 x 64*/
        64,  62,  61,  59,  57,  56,  54,  52,  51,  57,  63,  69,  75,  81,  87,  93,
        62,  61,  60,  59,  58,  57,  56,  55,  54,  59,  65,  71,  77,  83,  88,  94,
        61,  60,  60,  59,  59,  58,  58,  57,  57,  62,  68,  73,  79,  84,  90,  95,
        59,  59,  59,  59,  60,  60,  60,  60,  60,  65,  70,  76,  81,  86,  91,  96,
        57,  58,  59,  60,  60,  61,  62,  63,  63,  68,  73,  78,  83,  88,  93,  97,
        56,  57,  58,  60,  61,  62,  64,  65,  66,  71,  76,  80,  85,  89,  94,  98,
        54,  56,  58,  60,  62,  64,  66,  68,  70,  74,  78,  82,  87,  91,  95, 100,
        52,  55,  57,  60,  63,  65,  68,  70,  73,  77,  81,  85,  89,  93,  97, 101,
        51,  54,  57,  60,  63,  66,  70,  73,  76,  80,  83,  87,  91,  94,  98, 102,
        57,  59,  62,  65,  68,  71,  74,  77,  80,  83,  87,  90,  94,  98, 101, 105,
        63,  65,  68,  70,  73,  76,  78,  81,  83,  87,  90,  94,  97, 101, 104, 107,
        69,  71,  73,  76,  78,  80,  82,  85,  87,  90,  94,  97, 100, 104, 107, 110,
        75,  77,  79,  81,  83,  85,  87,  89,  91,  94,  97, 100, 104, 107, 110, 113,
        81,  83,  84,  86,  88,  89,  91,  93,  94,  98, 101, 104, 107, 110, 113, 116,
        87,  88,  90,  91,  93,  94,  95,  97,  98, 101, 104, 107, 110, 113, 116, 119,
        93,  94,  95,  96,  97,  98, 100, 101, 102, 105, 107, 110, 113, 116, 119, 122,

        /*Size 128 x 128*/
        64,  63,  62,  61,  61,  60,  59,  58,  57,  56,  56,  55,  54,  53,  52,  51,
        63,  62,  62,  61,  60,  60,  59,  58,  58,  57,  56,  56,  55,  54,  53,  53,
        62,  62,  61,  61,  60,  60,  59,  59,  58,  57,  57,  56,  56,  55,  55,  54,
        61,  61,  61,  60,  60,  60,  59,  59,  58,  58,  58,  57,  57,  56,  56,  56,
        61,  60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,  58,  58,  57,  57,
        60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,
        59,  59,  59,  59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  60,  60,  60,
        58,  58,  59,  59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  61,
        57,  58,  58,  58,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,  63,  63,
        56,  57,  57,  58,  59,  59,  60,  60,  61,  61,  62,  62,  63,  63,  64,  64,
        56,  56,  57,  58,  58,  59,  60,  60,  61,  62,  62,  63,  64,  64,  65,  66,
        55,  56,  56,  57,  58,  59,  60,  61,  61,  62,  63,  64,  65,  66,  66,  67,
        54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
        53,  54,  55,  56,  58,  59,  60,  61,  62,  63,  64,  66,  67,  68,  69,  70,
        52,  53,  55,  56,  57,  59,  60,  61,  63,  64,  65,  66,  68,  69,  70,  72,
        51,  53,  54,  56,  57,  59,  60,  61,  63,  64,  66,  67,  69,  70,  72,  73

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        25,  42,  47,  61,  42,  52,  56,  65,  47,  56,  74,  87,  61,  65,  87, 106,

        /*Size 8 x 8*/
        27,  21,  40,  45,  48,  55,  63,  73,  21,  31,  43,  39,  40,  44,  50,  58,
        40,  43,  51,  49,  49,  52,  57,  64,  45,  39,  49,  57,  60,  63,  67,  73,
        48,  40,  49,  60,  68,  73,  79,  84,  55,  44,  52,  63,  73,  82,  89,  96,
        63,  50,  57,  67,  79,  89,  98, 106,  73,  58,  64,  73,  84,  96, 106, 115,

        /*Size 16 x 16*/
        27,  24,  21,  31,  40,  43,  45,  47,  48,  51,  55,  59,  63,  68,  73,  73,
        24,  25,  26,  34,  42,  42,  42,  43,  44,  47,  49,  53,  57,  61,  65,  65,
        21,  26,  31,  37,  43,  41,  39,  39,  40,  42,  44,  47,  50,  54,  58,  58,
        31,  34,  37,  42,  47,  45,  44,  44,  44,  46,  48,  51,  54,  57,  61,  61,
        40,  42,  43,  47,  51,  50,  49,  49,  49,  50,  52,  54,  57,  61,  64,  64,
        43,  42,  41,  45,  50,  52,  53,  54,  54,  56,  57,  60,  62,  65,  69,  69,
        45,  42,  39,  44,  49,  53,  57,  58,  60,  61,  63,  65,  67,  70,  73,  73,
        47,  43,  39,  44,  49,  54,  58,  61,  64,  66,  68,  70,  73,  76,  79,  79,
        48,  44,  40,  44,  49,  54,  60,  64,  68,  71,  73,  76,  79,  81,  84,  84,
        51,  47,  42,  46,  50,  56,  61,  66,  71,  74,  78,  81,  84,  87,  90,  90,
        55,  49,  44,  48,  52,  57,  63,  68,  73,  78,  82,  86,  89,  92,  96,  96,
        59,  53,  47,  51,  54,  60,  65,  70,  76,  81,  86,  90,  94,  97, 101, 101,
        63,  57,  50,  54,  57,  62,  67,  73,  79,  84,  89,  94,  98, 102, 106, 106,
        68,  61,  54,  57,  61,  65,  70,  76,  81,  87,  92,  97, 102, 106, 110, 110,
        73,  65,  58,  61,  64,  69,  73,  79,  84,  90,  96, 101, 106, 110, 115, 115,
        73,  65,  58,  61,  64,  69,  73,  79,  84,  90,  96, 101, 106, 110, 115, 115,

        /*Size 32 x 32*/
        27,  25,  24,  22,  21,  26,  31,  35,  40,  41,  43,  44,  45,  46,  47,  47,
        25,  25,  24,  24,  24,  28,  32,  37,  41,  41,  42,  43,  43,  44,  45,  45,
        24,  24,  25,  26,  26,  30,  34,  38,  42,  42,  42,  42,  42,  42,  43,  43,
        22,  24,  26,  27,  29,  32,  35,  39,  42,  42,  41,  41,  40,  41,  41,  41,
        21,  24,  26,  29,  31,  34,  37,  40,  43,  42,  41,  40,  39,  39,  39,  39,
        26,  28,  30,  32,  34,  37,  39,  42,  45,  44,  43,  42,  41,  41,  42,  42,
        31,  32,  34,  35,  37,  39,  42,  44,  47,  46,  45,  45,  44,  44,  44,  44,
        35,  37,  38,  39,  40,  42,  44,  47,  49,  48,  48,  47,  47,  47,  47,  47,
        40,  41,  42,  42,  43,  45,  47,  49,  51,  51,  50,  50,  49,  49,  49,  49,
        41,  41,  42,  42,  42,  44,  46,  48,  51,  51,  51,  51,  51,  51,  51,  51,
        43,  42,  42,  41,  41,  43,  45,  48,  50,  51,  52,  52,  53,  53,  54,  54,
        44,  43,  42,  41,  40,  42,  45,  47,  50,  51,  52,  53,  55,  55,  56,  56,
        45,  43,  42,  40,  39,  41,  44,  47,  49,  51,  53,  55,  57,  57,  58,  59,
        46,  44,  42,  41,  39,  41,  44,  47,  49,  51,  53,  55,  57,  58,  59,  60,
        47,  45,  43,  41,  39,  42,  44,  47,  49,  51,  54,  56,  58,  59,  61,  62,
        47,  45,  43,  41,  39,  42,  44,  47,  49,  51,  54,  56,  59,  60,  62,  64,

        /*Size 64 x 64*/
        27,  26,  25,  24,  24,  23,  22,  22,  21,  23,  26,  28,  31,  33,  35,  38,
        26,  25,  25,  24,  24,  24,  23,  23,  22,  25,  27,  29,  31,  34,  36,  38,
        25,  25,  25,  25,  24,  24,  24,  24,  24,  26,  28,  30,  32,  34,  37,  39,
        24,  24,  25,  25,  25,  25,  25,  25,  25,  27,  29,  31,  33,  35,  37,  39,
        24,  24,  24,  25,  25,  25,  26,  26,  26,  28,  30,  32,  34,  36,  38,  40,
        23,  24,  24,  25,  25,  26,  26,  27,  27,  29,  31,  33,  35,  36,  38,  40,
        22,  23,  24,  25,  26,  26,  27,  28,  29,  30,  32,  34,  35,  37,  39,  40,
        22,  23,  24,  25,  26,  27,  28,  29,  30,  32,  33,  35,  36,  38,  39,  41,
        21,  22,  24,  25,  26,  27,  29,  30,  31,  33,  34,  36,  37,  38,  40,  41,
        23,  25,  26,  27,  28,  29,  30,  32,  33,  34,  35,  37,  38,  40,  41,  42,
        26,  27,  28,  29,  30,  31,  32,  33,  34,  35,  37,  38,  39,  41,  42,  43,
        28,  29,  30,  31,  32,  33,  34,  35,  36,  37,  38,  39,  41,  42,  43,  45,
        31,  31,  32,  33,  34,  35,  35,  36,  37,  38,  39,  41,  42,  43,  44,  46,
        33,  34,  34,  35,  36,  36,  37,  38,  38,  40,  41,  42,  43,  44,  46,  47,
        35,  36,  37,  37,  38,  38,  39,  39,  40,  41,  42,  43,  44,  46,  47,  48,
        38,  38,  39,  39,  40,  40,  40,  41,  41,  42,  43,  45,  46,  47,  48,  49,

        /*Size 128 x 128*/
        27,  26,  26,  25,  25,  25,  24,  24,  24,  23,  23,  23,  22,  22,  22,  21,
        26,  26,  26,  25,  25,  25,  24,  24,  24,  24,  23,  23,  23,  22,  22,  22,
        26,  26,  25,  25,  25,  25,  24,  24,  24,  24,  24,  23,  23,  23,  23,  23,
        25,  25,  25,  25,  25,  25,  25,  24,  24,  24,  24,  24,  24,  23,  23,  23,
        25,  25,  25,  25,  25,  25,  25,  24,  24,  24,  24,  24,  24,  24,  24,  24,
        25,  25,  25,  25,  25,  25,  25,  25,  24,  24,  24,  24,  24,  24,  24,  24,
        24,  24,  24,  25,  25,  25,  25,  25,  25,  25,  25,  25,  25,  25,  25,  25,
        24,  24,  24,  24,  24,  25,  25,  25,  25,  25,  25,  25,  25,  25,  25,  25,
        24,  24,  24,  24,  24,  24,  25,  25,  25,  25,  25,  25,  26,  26,  26,  26,
        23,  24,  24,  24,  24,  24,  25,  25,  25,  25,  26,  26,  26,  26,  26,  27,
        23,  23,  24,  24,  24,  24,  25,  25,  25,  26,  26,  26,  26,  27,  27,  27,
        23,  23,  23,  24,  24,  24,  25,  25,  25,  26,  26,  26,  27,  27,  27,  28,
        22,  23,  23,  24,  24,  24,  25,  25,  26,  26,  26,  27,  27,  28,  28,  28,
        22,  22,  23,  23,  24,  24,  25,  25,  26,  26,  27,  27,  28,  28,  28,  29,
        22,  22,  23,  23,  24,  24,  25,  25,  26,  26,  27,  27,  28,  28,  29,  29,
        21,  22,  23,  23,  24,  24,  25,  25,  26,  27,  27,  28,  28,  29,  29,  30

      }
    }
  },
  {
    /* QM level 3*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        54,  59,  97, 148,  59,  89, 122, 161,  97, 122, 167, 199, 148, 161, 199, 229,

        /*Size 8 x 8*/
        64,  48,  52,  69,  92, 118, 146, 172,  48,  55,  53,  62,  79, 101, 125, 151,
        52,  53,  74,  86, 100, 119, 140, 162,  69,  62,  86, 109, 126, 143, 161, 179,
        92,  79, 100, 126, 148, 166, 182, 198, 118, 101, 119, 143, 166, 186, 201, 215,
        146, 125, 140, 161, 182, 201, 217, 229, 172, 151, 162, 179, 198, 215, 229, 240,

        /*Size 16 x 16*/
        64,  56,  48,  50,  52,  60,  69,  80,  92, 105, 118, 132, 146, 159, 172, 172,
        56,  54,  52,  52,  53,  59,  65,  75,  85,  97, 109, 122, 135, 148, 161, 161,
        48,  52,  55,  54,  53,  58,  62,  71,  79,  90, 101, 113, 125, 138, 151, 151,
        50,  52,  54,  59,  64,  69,  74,  82,  90, 100, 110, 121, 133, 145, 156, 156,
        52,  53,  53,  64,  74,  80,  86,  93, 100, 110, 119, 129, 140, 151, 162, 162,
        60,  59,  58,  69,  80,  89,  97, 105, 113, 122, 131, 141, 150, 161, 171, 171,
        69,  65,  62,  74,  86,  97, 109, 117, 126, 134, 143, 152, 161, 170, 179, 179,
        80,  75,  71,  82,  93, 105, 117, 127, 137, 146, 155, 163, 172, 180, 188, 188,
        92,  85,  79,  90, 100, 113, 126, 137, 148, 157, 166, 174, 182, 190, 198, 198,
        105,  97,  90, 100, 110, 122, 134, 146, 157, 167, 176, 184, 192, 199, 206, 206,
        118, 109, 101, 110, 119, 131, 143, 155, 166, 176, 186, 193, 201, 208, 215, 215,
        132, 122, 113, 121, 129, 141, 152, 163, 174, 184, 193, 201, 209, 215, 222, 222,
        146, 135, 125, 133, 140, 150, 161, 172, 182, 192, 201, 209, 217, 223, 229, 229,
        159, 148, 138, 145, 151, 161, 170, 180, 190, 199, 208, 215, 223, 229, 234, 234,
        172, 161, 151, 156, 162, 171, 179, 188, 198, 206, 215, 222, 229, 234, 240, 240,
        172, 161, 151, 156, 162, 171, 179, 188, 198, 206, 215, 222, 229, 234, 240, 240,

        /*Size 32 x 32*/
        64,  60,  56,  52,  48,  49,  50,  51,  52,  56,  60,  64,  69,  74,  80,  86,
        60,  58,  55,  53,  50,  51,  51,  52,  52,  56,  60,  63,  67,  72,  78,  83,
        56,  55,  54,  53,  52,  52,  52,  52,  53,  56,  59,  62,  65,  70,  75,  80,
        52,  53,  53,  53,  54,  53,  53,  53,  53,  56,  58,  61,  64,  68,  73,  78,
        48,  50,  52,  54,  55,  55,  54,  54,  53,  55,  58,  60,  62,  66,  71,  75,
        49,  51,  52,  53,  55,  56,  56,  57,  58,  61,  63,  66,  68,  72,  76,  80,
        50,  51,  52,  53,  54,  56,  59,  61,  64,  66,  69,  71,  74,  78,  82,  86,
        51,  52,  52,  53,  54,  57,  61,  65,  69,  72,  74,  77,  80,  84,  87,  91,
        52,  52,  53,  53,  53,  58,  64,  69,  74,  77,  80,  83,  86,  90,  93,  97,
        56,  56,  56,  56,  55,  61,  66,  72,  77,  81,  84,  88,  92,  95,  99, 103,
        60,  60,  59,  58,  58,  63,  69,  74,  80,  84,  89,  93,  97, 101, 105, 109,
        64,  63,  62,  61,  60,  66,  71,  77,  83,  88,  93,  98, 103, 107, 111, 115,
        69,  67,  65,  64,  62,  68,  74,  80,  86,  92,  97, 103, 109, 113, 117, 122,
        74,  72,  70,  68,  66,  72,  78,  84,  90,  95, 101, 107, 113, 118, 122, 127,
        80,  78,  75,  73,  71,  76,  82,  87,  93,  99, 105, 111, 117, 122, 127, 132,
        86,  83,  80,  78,  75,  80,  86,  91,  97, 103, 109, 115, 122, 127, 132, 137,

        /*Size 64 x 64*/
        64,  62,  60,  58,  56,  54,  52,  50,  48,  49,  49,  50,  50,  51,  51,  52,
        62,  60,  59,  57,  56,  54,  52,  51,  49,  50,  50,  50,  51,  51,  52,  52,
        60,  59,  58,  56,  55,  54,  53,  51,  50,  50,  51,  51,  51,  52,  52,  52,
        58,  57,  56,  55,  54,  54,  53,  52,  51,  51,  51,  51,  52,  52,  52,  52,
        56,  56,  55,  54,  54,  53,  53,  52,  52,  52,  52,  52,  52,  52,  52,  53,
        54,  54,  54,  54,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,
        52,  52,  53,  53,  53,  53,  53,  53,  54,  53,  53,  53,  53,  53,  53,  53,
        50,  51,  51,  52,  52,  53,  53,  54,  54,  54,  54,  54,  54,  53,  53,  53,
        48,  49,  50,  51,  52,  53,  54,  54,  55,  55,  55,  54,  54,  54,  54,  53,
        49,  50,  50,  51,  52,  53,  53,  54,  55,  55,  55,  55,  55,  55,  55,  56,
        49,  50,  51,  51,  52,  53,  53,  54,  55,  55,  56,  56,  56,  57,  57,  58,
        50,  50,  51,  51,  52,  53,  53,  54,  54,  55,  56,  57,  58,  58,  59,  60,
        50,  51,  51,  52,  52,  53,  53,  54,  54,  55,  56,  58,  59,  60,  61,  62,
        51,  51,  52,  52,  52,  53,  53,  53,  54,  55,  57,  58,  60,  62,  63,  65,
        51,  52,  52,  52,  52,  53,  53,  53,  54,  55,  57,  59,  61,  63,  65,  67,
        52,  52,  52,  52,  53,  53,  53,  53,  53,  56,  58,  60,  62,  65,  67,  69,

        /*Size 128 x 128*/
        64,  63,  62,  61,  60,  59,  58,  57,  56,  55,  54,  53,  52,  51,  50,  49,
        63,  62,  61,  60,  59,  59,  58,  57,  56,  55,  54,  53,  52,  51,  50,  50,
        62,  61,  60,  60,  59,  58,  57,  56,  56,  55,  54,  53,  52,  52,  51,  50,
        61,  60,  60,  59,  58,  57,  57,  56,  55,  55,  54,  53,  52,  52,  51,  50,
        60,  59,  59,  58,  58,  57,  56,  56,  55,  54,  54,  53,  53,  52,  51,  51,
        59,  59,  58,  57,  57,  56,  56,  55,  55,  54,  54,  53,  53,  52,  52,  51,
        58,  58,  57,  57,  56,  56,  55,  55,  54,  54,  54,  53,  53,  52,  52,  51,
        57,  57,  56,  56,  56,  55,  55,  55,  54,  54,  53,  53,  53,  52,  52,  52,
        56,  56,  56,  55,  55,  55,  54,  54,  54,  54,  53,  53,  53,  53,  52,  52,
        55,  55,  55,  55,  54,  54,  54,  54,  54,  53,  53,  53,  53,  53,  53,  52,
        54,  54,  54,  54,  54,  54,  54,  53,  53,  53,  53,  53,  53,  53,  53,  53,
        53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,
        52,  52,  52,  52,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,  53,
        51,  51,  52,  52,  52,  52,  52,  52,  53,  53,  53,  53,  53,  53,  54,  54,
        50,  50,  51,  51,  51,  52,  52,  52,  52,  53,  53,  53,  53,  54,  54,  54,
        49,  50,  50,  50,  51,  51,  51,  52,  52,  52,  53,  53,  53,  54,  54,  54

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        18,  20,  36,  62,  20,  32,  48,  69,  36,  48,  73,  95,  62,  69,  95, 120,

        /*Size 8 x 8*/
        22,  16,  18,  24,  34,  46,  60,  76,  16,  19,  18,  21,  28,  38,  50,  63,
        18,  18,  26,  31,  37,  46,  57,  70,  24,  21,  31,  41,  50,  59,  69,  81,
        34,  28,  37,  50,  62,  73,  83,  94,  46,  38,  46,  59,  73,  86,  97, 108,
        60,  50,  57,  69,  83,  97, 109, 120,  76,  63,  70,  81,  94, 108, 120, 130,

        /*Size 16 x 16*/
        22,  19,  16,  17,  18,  21,  24,  29,  34,  40,  46,  53,  60,  68,  76,  76,
        19,  18,  18,  18,  18,  20,  23,  27,  31,  36,  42,  48,  55,  62,  70,  70,
        16,  18,  19,  18,  18,  20,  21,  25,  28,  33,  38,  44,  50,  56,  63,  63,
        17,  18,  18,  20,  22,  24,  26,  29,  33,  37,  42,  48,  53,  60,  67,  67,
        18,  18,  18,  22,  26,  29,  31,  34,  37,  42,  46,  52,  57,  64,  70,  70,
        21,  20,  20,  24,  29,  32,  36,  40,  44,  48,  53,  58,  63,  69,  76,  76,
        24,  23,  21,  26,  31,  36,  41,  46,  50,  54,  59,  64,  69,  75,  81,  81,
        29,  27,  25,  29,  34,  40,  46,  51,  56,  61,  66,  71,  76,  82,  88,  88,
        34,  31,  28,  33,  37,  44,  50,  56,  62,  67,  73,  78,  83,  89,  94,  94,
        40,  36,  33,  37,  42,  48,  54,  61,  67,  73,  79,  85,  90,  95, 101, 101,
        46,  42,  38,  42,  46,  53,  59,  66,  73,  79,  86,  91,  97, 102, 108, 108,
        53,  48,  44,  48,  52,  58,  64,  71,  78,  85,  91,  97, 103, 108, 114, 114,
        60,  55,  50,  53,  57,  63,  69,  76,  83,  90,  97, 103, 109, 114, 120, 120,
        68,  62,  56,  60,  64,  69,  75,  82,  89,  95, 102, 108, 114, 120, 125, 125,
        76,  70,  63,  67,  70,  76,  81,  88,  94, 101, 108, 114, 120, 125, 130, 130,
        76,  70,  63,  67,  70,  76,  81,  88,  94, 101, 108, 114, 120, 125, 130, 130,

        /*Size 32 x 32*/
        22,  21,  19,  18,  16,  17,  17,  17,  18,  19,  21,  22,  24,  26,  29,  31,
        21,  20,  19,  18,  17,  17,  17,  17,  18,  19,  20,  22,  23,  25,  28,  30,
        19,  19,  18,  18,  18,  18,  18,  18,  18,  19,  20,  21,  23,  25,  27,  29,
        18,  18,  18,  18,  18,  18,  18,  18,  18,  19,  20,  21,  22,  24,  26,  28,
        16,  17,  18,  18,  19,  19,  18,  18,  18,  19,  20,  20,  21,  23,  25,  26,
        17,  17,  18,  18,  19,  19,  19,  20,  20,  21,  22,  23,  24,  25,  27,  29,
        17,  17,  18,  18,  18,  19,  20,  21,  22,  23,  24,  25,  26,  28,  29,  31,
        17,  17,  18,  18,  18,  20,  21,  23,  24,  25,  26,  27,  29,  30,  32,  33,
        18,  18,  18,  18,  18,  20,  22,  24,  26,  27,  29,  30,  31,  33,  34,  36,
        19,  19,  19,  19,  19,  21,  23,  25,  27,  29,  30,  32,  34,  35,  37,  39,
        21,  20,  20,  20,  20,  22,  24,  26,  29,  30,  32,  34,  36,  38,  40,  42,
        22,  22,  21,  21,  20,  23,  25,  27,  30,  32,  34,  36,  39,  41,  43,  45,
        24,  23,  23,  22,  21,  24,  26,  29,  31,  34,  36,  39,  41,  43,  46,  48,
        26,  25,  25,  24,  23,  25,  28,  30,  33,  35,  38,  41,  43,  46,  48,  51,
        29,  28,  27,  26,  25,  27,  29,  32,  34,  37,  40,  43,  46,  48,  51,  53,
        31,  30,  29,  28,  26,  29,  31,  33,  36,  39,  42,  45,  48,  51,  53,  56,

        /*Size 64 x 64*/
        22,  21,  21,  20,  19,  18,  18,  17,  16,  16,  17,  17,  17,  17,  17,  17,
        21,  21,  20,  20,  19,  18,  18,  17,  17,  17,  17,  17,  17,  17,  17,  17,
        21,  20,  20,  19,  19,  18,  18,  17,  17,  17,  17,  17,  17,  17,  17,  18,
        20,  20,  19,  19,  19,  18,  18,  18,  17,  17,  17,  17,  17,  18,  18,  18,
        19,  19,  19,  19,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        17,  17,  17,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        16,  17,  17,  17,  18,  18,  18,  18,  19,  19,  19,  18,  18,  18,  18,  18,
        16,  17,  17,  17,  18,  18,  18,  18,  19,  19,  19,  19,  19,  19,  19,  19,
        17,  17,  17,  17,  18,  18,  18,  18,  19,  19,  19,  19,  19,  19,  20,  20,
        17,  17,  17,  17,  18,  18,  18,  18,  18,  19,  19,  19,  20,  20,  20,  21,
        17,  17,  17,  17,  18,  18,  18,  18,  18,  19,  19,  20,  20,  21,  21,  22,
        17,  17,  17,  18,  18,  18,  18,  18,  18,  19,  19,  20,  21,  21,  22,  22,
        17,  17,  17,  18,  18,  18,  18,  18,  18,  19,  20,  20,  21,  22,  23,  23,
        17,  17,  18,  18,  18,  18,  18,  18,  18,  19,  20,  21,  22,  22,  23,  24,

        /*Size 128 x 128*/
        22,  22,  21,  21,  21,  20,  20,  19,  19,  19,  18,  18,  18,  17,  17,  17,
        22,  21,  21,  21,  20,  20,  20,  19,  19,  19,  18,  18,  18,  17,  17,  17,
        21,  21,  21,  20,  20,  20,  20,  19,  19,  19,  18,  18,  18,  17,  17,  17,
        21,  21,  20,  20,  20,  20,  19,  19,  19,  19,  18,  18,  18,  18,  17,  17,
        21,  20,  20,  20,  20,  19,  19,  19,  19,  18,  18,  18,  18,  18,  17,  17,
        20,  20,  20,  20,  19,  19,  19,  19,  19,  18,  18,  18,  18,  18,  17,  17,
        20,  20,  20,  19,  19,  19,  19,  19,  19,  18,  18,  18,  18,  18,  18,  17,
        19,  19,  19,  19,  19,  19,  19,  19,  18,  18,  18,  18,  18,  18,  18,  17,
        19,  19,  19,  19,  19,  19,  19,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        19,  19,  19,  19,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        17,  17,  17,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        17,  17,  17,  17,  17,  17,  18,  18,  18,  18,  18,  18,  18,  18,  18,  18,
        17,  17,  17,  17,  17,  17,  17,  17,  18,  18,  18,  18,  18,  18,  18,  18

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        60,  93, 102, 132,  93, 112, 121, 141, 102, 121, 159, 185, 132, 141, 185, 224,

        /*Size 8 x 8*/
        64,  51,  96,  98, 105, 119, 136, 156,  51,  75,  94,  84,  87,  96, 110, 126,
        96,  94, 111, 107, 107, 113, 124, 138,  98,  84, 107, 123, 129, 136, 145, 157,
        105,  87, 107, 129, 146, 158, 168, 180, 119,  96, 113, 136, 158, 176, 190, 203,
        136, 110, 124, 145, 168, 190, 208, 224, 156, 126, 138, 157, 180, 203, 224, 242,

        /*Size 16 x 16*/
        64,  58,  51,  74,  96,  97,  98, 102, 105, 112, 119, 127, 136, 146, 156, 156,
        58,  60,  63,  79,  95,  93,  91,  94,  96, 102, 108, 115, 123, 132, 141, 141,
        51,  63,  75,  85,  94,  89,  84,  86,  87,  92,  96, 103, 110, 118, 126, 126,
        74,  79,  85,  94, 103,  99,  96,  96,  97, 101, 105, 111, 117, 124, 132, 132,
        96,  95,  94, 103, 111, 109, 107, 107, 107, 110, 113, 118, 124, 131, 138, 138,
        97,  93,  89,  99, 109, 112, 115, 116, 118, 121, 124, 129, 134, 141, 148, 148,
        98,  91,  84,  96, 107, 115, 123, 126, 129, 132, 136, 140, 145, 151, 157, 157,
        102,  94,  86,  96, 107, 116, 126, 132, 138, 142, 147, 152, 157, 163, 169, 169,
        105,  96,  87,  97, 107, 118, 129, 138, 146, 152, 158, 163, 168, 174, 180, 180,
        112, 102,  92, 101, 110, 121, 132, 142, 152, 159, 167, 173, 179, 185, 192, 192,
        119, 108,  96, 105, 113, 124, 136, 147, 158, 167, 176, 183, 190, 197, 203, 203,
        127, 115, 103, 111, 118, 129, 140, 152, 163, 173, 183, 191, 199, 206, 213, 213,
        136, 123, 110, 117, 124, 134, 145, 157, 168, 179, 190, 199, 208, 216, 224, 224,
        146, 132, 118, 124, 131, 141, 151, 163, 174, 185, 197, 206, 216, 224, 233, 233,
        156, 141, 126, 132, 138, 148, 157, 169, 180, 192, 203, 213, 224, 233, 242, 242,
        156, 141, 126, 132, 138, 148, 157, 169, 180, 192, 203, 213, 224, 233, 242, 242,

        /*Size 32 x 32*/
        64,  61,  58,  54,  51,  62,  74,  85,  96,  96,  97,  97,  98, 100, 102, 103,
        61,  60,  59,  58,  57,  67,  76,  86,  95,  95,  95,  95,  95,  96,  98,  99,
        58,  59,  60,  62,  63,  71,  79,  87,  95,  94,  93,  92,  91,  92,  94,  95,
        54,  58,  62,  66,  69,  76,  82,  88,  94,  93,  91,  89,  88,  89,  90,  91,
        51,  57,  63,  69,  75,  80,  85,  89,  94,  91,  89,  87,  84,  85,  86,  86,
        62,  67,  71,  76,  80,  84,  89,  94,  98,  96,  94,  92,  90,  90,  91,  91,
        74,  76,  79,  82,  85,  89,  94,  98, 103, 101,  99,  97,  96,  96,  96,  97,
        85,  86,  87,  88,  89,  94,  98, 102, 107, 106, 104, 103, 102, 102, 102, 102,
        96,  95,  95,  94,  94,  98, 103, 107, 111, 110, 109, 108, 107, 107, 107, 107,
        96,  95,  94,  93,  91,  96, 101, 106, 110, 110, 111, 111, 111, 111, 112, 112,
        97,  95,  93,  91,  89,  94,  99, 104, 109, 111, 112, 113, 115, 116, 116, 117,
        97,  95,  92,  89,  87,  92,  97, 103, 108, 111, 113, 116, 119, 120, 121, 122,
        98,  95,  91,  88,  84,  90,  96, 102, 107, 111, 115, 119, 123, 124, 126, 128,
        100,  96,  92,  89,  85,  90,  96, 102, 107, 111, 116, 120, 124, 127, 129, 131,
        102,  98,  94,  90,  86,  91,  96, 102, 107, 112, 116, 121, 126, 129, 132, 135,
        103,  99,  95,  91,  86,  91,  97, 102, 107, 112, 117, 122, 128, 131, 135, 138,

        /*Size 64 x 64*/
        64,  62,  61,  59,  58,  56,  54,  53,  51,  57,  62,  68,  74,  79,  85,  90,
        62,  61,  60,  59,  58,  57,  56,  55,  54,  59,  65,  70,  75,  80,  85,  90,
        61,  60,  60,  59,  59,  59,  58,  58,  57,  62,  67,  72,  76,  81,  86,  91,
        59,  59,  59,  60,  60,  60,  60,  60,  60,  65,  69,  73,  78,  82,  86,  91,
        58,  58,  59,  60,  60,  61,  62,  63,  63,  67,  71,  75,  79,  83,  87,  91,
        56,  57,  59,  60,  61,  62,  64,  65,  66,  70,  73,  77,  80,  84,  87,  91,
        54,  56,  58,  60,  62,  64,  66,  67,  69,  72,  76,  79,  82,  85,  88,  91,
        53,  55,  58,  60,  63,  65,  67,  70,  72,  75,  78,  80,  83,  86,  89,  91,
        51,  54,  57,  60,  63,  66,  69,  72,  75,  78,  80,  82,  85,  87,  89,  91,
        57,  59,  62,  65,  67,  70,  72,  75,  78,  80,  82,  84,  87,  89,  91,  94,
        62,  65,  67,  69,  71,  73,  76,  78,  80,  82,  84,  87,  89,  91,  94,  96,
        68,  70,  72,  73,  75,  77,  79,  80,  82,  84,  87,  89,  91,  94,  96,  98,
        74,  75,  76,  78,  79,  80,  82,  83,  85,  87,  89,  91,  94,  96,  98, 100,
        79,  80,  81,  82,  83,  84,  85,  86,  87,  89,  91,  94,  96,  98, 100, 102,
        85,  85,  86,  86,  87,  87,  88,  89,  89,  91,  94,  96,  98, 100, 102, 105,
        90,  90,  91,  91,  91,  91,  91,  91,  91,  94,  96,  98, 100, 102, 105, 107,

        /*Size 128 x 128*/
        64,  63,  62,  62,  61,  60,  59,  58,  58,  57,  56,  55,  54,  54,  53,  52,
        63,  63,  62,  61,  61,  60,  59,  59,  58,  57,  57,  56,  55,  55,  54,  53,
        62,  62,  61,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,  55,  55,
        62,  61,  61,  61,  60,  60,  59,  59,  59,  58,  58,  58,  57,  57,  56,  56,
        61,  61,  60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,  58,  58,  57,
        60,  60,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  59,  59,
        59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        58,  59,  59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  61,  62,
        58,  58,  58,  59,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,  63,  63,
        57,  57,  58,  58,  59,  59,  60,  60,  61,  61,  62,  62,  63,  63,  64,  64,
        56,  57,  57,  58,  59,  59,  60,  61,  61,  62,  62,  63,  64,  64,  65,  66,
        55,  56,  57,  58,  58,  59,  60,  61,  61,  62,  63,  64,  65,  65,  66,  67,
        54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  66,  67,  68,
        54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  68,  69,  70,
        53,  54,  55,  56,  58,  59,  60,  61,  63,  64,  65,  66,  67,  69,  70,  71,
        52,  53,  55,  56,  57,  59,  60,  62,  63,  64,  66,  67,  68,  70,  71,  72

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        30,  45,  49,  62,  45,  53,  57,  66,  49,  57,  74,  84,  62,  66,  84, 100,

        /*Size 8 x 8*/
        32,  26,  46,  47,  51,  57,  64,  73,  26,  37,  45,  41,  42,  47,  53,  60,
        46,  45,  53,  51,  51,  54,  59,  65,  47,  41,  51,  58,  61,  64,  68,  73,
        51,  42,  51,  61,  68,  73,  78,  82,  57,  47,  54,  64,  73,  81,  86,  92,
        64,  53,  59,  68,  78,  86,  94, 100,  73,  60,  65,  73,  82,  92, 100, 107,

        /*Size 16 x 16*/
        32,  29,  26,  36,  46,  47,  47,  49,  51,  54,  57,  60,  64,  68,  73,  73,
        29,  30,  31,  38,  46,  45,  44,  45,  46,  49,  52,  55,  58,  62,  66,  66,
        26,  31,  37,  41,  45,  43,  41,  42,  42,  44,  47,  50,  53,  56,  60,  60,
        36,  38,  41,  45,  49,  48,  46,  46,  47,  48,  50,  53,  56,  59,  62,  62,
        46,  46,  45,  49,  53,  52,  51,  51,  51,  52,  54,  56,  59,  62,  65,  65,
        47,  45,  43,  48,  52,  53,  55,  55,  56,  57,  59,  61,  63,  66,  69,  69,
        47,  44,  41,  46,  51,  55,  58,  60,  61,  62,  64,  66,  68,  70,  73,  73,
        49,  45,  42,  46,  51,  55,  60,  62,  65,  67,  68,  70,  73,  75,  78,  78,
        51,  46,  42,  47,  51,  56,  61,  65,  68,  71,  73,  75,  78,  80,  82,  82,
        54,  49,  44,  48,  52,  57,  62,  67,  71,  74,  77,  79,  82,  84,  87,  87,
        57,  52,  47,  50,  54,  59,  64,  68,  73,  77,  81,  83,  86,  89,  92,  92,
        60,  55,  50,  53,  56,  61,  66,  70,  75,  79,  83,  87,  90,  93,  96,  96,
        64,  58,  53,  56,  59,  63,  68,  73,  78,  82,  86,  90,  94,  97, 100, 100,
        68,  62,  56,  59,  62,  66,  70,  75,  80,  84,  89,  93,  97, 100, 103, 103,
        73,  66,  60,  62,  65,  69,  73,  78,  82,  87,  92,  96, 100, 103, 107, 107,
        73,  66,  60,  62,  65,  69,  73,  78,  82,  87,  92,  96, 100, 103, 107, 107,

        /*Size 32 x 32*/
        32,  30,  29,  27,  26,  31,  36,  41,  46,  47,  47,  47,  47,  48,  49,  50,
        30,  30,  29,  29,  28,  33,  37,  42,  46,  46,  46,  46,  46,  46,  47,  48,
        29,  29,  30,  30,  31,  35,  38,  42,  46,  45,  45,  45,  44,  45,  45,  46,
        27,  29,  30,  32,  34,  37,  40,  43,  46,  45,  44,  43,  43,  43,  43,  44,
        26,  28,  31,  34,  37,  39,  41,  43,  45,  44,  43,  42,  41,  41,  42,  42,
        31,  33,  35,  37,  39,  41,  43,  45,  47,  46,  45,  44,  44,  44,  44,  44,
        36,  37,  38,  40,  41,  43,  45,  47,  49,  48,  48,  47,  46,  46,  46,  47,
        41,  42,  42,  43,  43,  45,  47,  49,  51,  50,  50,  49,  49,  49,  49,  49,
        46,  46,  46,  46,  45,  47,  49,  51,  53,  53,  52,  52,  51,  51,  51,  51,
        47,  46,  45,  45,  44,  46,  48,  50,  53,  53,  53,  53,  53,  53,  53,  53,
        47,  46,  45,  44,  43,  45,  48,  50,  52,  53,  53,  54,  55,  55,  55,  56,
        47,  46,  45,  43,  42,  44,  47,  49,  52,  53,  54,  55,  56,  57,  57,  58,
        47,  46,  44,  43,  41,  44,  46,  49,  51,  53,  55,  56,  58,  59,  60,  60,
        48,  46,  45,  43,  41,  44,  46,  49,  51,  53,  55,  57,  59,  60,  61,  62,
        49,  47,  45,  43,  42,  44,  46,  49,  51,  53,  55,  57,  60,  61,  62,  63,
        50,  48,  46,  44,  42,  44,  47,  49,  51,  53,  56,  58,  60,  62,  63,  65,

        /*Size 64 x 64*/
        32,  31,  30,  29,  29,  28,  27,  26,  26,  28,  31,  33,  36,  38,  41,  44,
        31,  30,  30,  29,  29,  28,  28,  27,  27,  29,  32,  34,  37,  39,  41,  44,
        30,  30,  30,  29,  29,  29,  29,  29,  28,  31,  33,  35,  37,  39,  42,  44,
        29,  29,  29,  29,  29,  30,  30,  30,  30,  32,  34,  36,  38,  40,  42,  44,
        29,  29,  29,  29,  30,  30,  30,  31,  31,  33,  35,  37,  38,  40,  42,  44,
        28,  28,  29,  30,  30,  31,  31,  32,  33,  34,  36,  37,  39,  41,  42,  44,
        27,  28,  29,  30,  30,  31,  32,  33,  34,  35,  37,  38,  40,  41,  43,  44,
        26,  27,  29,  30,  31,  32,  33,  34,  35,  37,  38,  39,  40,  42,  43,  44,
        26,  27,  28,  30,  31,  33,  34,  35,  37,  38,  39,  40,  41,  42,  43,  44,
        28,  29,  31,  32,  33,  34,  35,  37,  38,  39,  40,  41,  42,  43,  44,  45,
        31,  32,  33,  34,  35,  36,  37,  38,  39,  40,  41,  42,  43,  44,  45,  46,
        33,  34,  35,  36,  37,  37,  38,  39,  40,  41,  42,  43,  44,  45,  46,  47,
        36,  37,  37,  38,  38,  39,  40,  40,  41,  42,  43,  44,  45,  46,  47,  48,
        38,  39,  39,  40,  40,  41,  41,  42,  42,  43,  44,  45,  46,  47,  48,  49,
        41,  41,  42,  42,  42,  42,  43,  43,  43,  44,  45,  46,  47,  48,  49,  50,
        44,  44,  44,  44,  44,  44,  44,  44,  44,  45,  46,  47,  48,  49,  50,  51,

        /*Size 128 x 128*/
        32,  31,  31,  30,  30,  30,  29,  29,  29,  28,  28,  27,  27,  27,  26,  26,
        31,  31,  31,  30,  30,  30,  29,  29,  29,  28,  28,  28,  27,  27,  27,  27,
        31,  31,  30,  30,  30,  30,  29,  29,  29,  29,  28,  28,  28,  28,  27,  27,
        30,  30,  30,  30,  30,  30,  29,  29,  29,  29,  29,  28,  28,  28,  28,  28,
        30,  30,  30,  30,  30,  29,  29,  29,  29,  29,  29,  29,  29,  29,  29,  28,
        30,  30,  30,  30,  29,  29,  29,  29,  29,  29,  29,  29,  29,  29,  29,  29,
        29,  29,  29,  29,  29,  29,  29,  29,  29,  30,  30,  30,  30,  30,  30,  30,
        29,  29,  29,  29,  29,  29,  29,  30,  30,  30,  30,  30,  30,  30,  30,  30,
        29,  29,  29,  29,  29,  29,  29,  30,  30,  30,  30,  30,  30,  31,  31,  31,
        28,  28,  29,  29,  29,  29,  30,  30,  30,  30,  30,  31,  31,  31,  31,  32,
        28,  28,  28,  29,  29,  29,  30,  30,  30,  30,  31,  31,  31,  32,  32,  32,
        27,  28,  28,  28,  29,  29,  30,  30,  30,  31,  31,  31,  32,  32,  33,  33,
        27,  27,  28,  28,  29,  29,  30,  30,  30,  31,  31,  32,  32,  33,  33,  34,
        27,  27,  28,  28,  29,  29,  30,  30,  31,  31,  32,  32,  33,  33,  34,  34,
        26,  27,  27,  28,  29,  29,  30,  30,  31,  31,  32,  33,  33,  34,  34,  35,
        26,  27,  27,  28,  28,  29,  30,  30,  31,  32,  32,  33,  34,  34,  35,  35

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        60,  99, 111, 143,  99, 122, 132, 153, 111, 132, 173, 200, 143, 153, 200, 242,

        /*Size 8 x 8*/
        64,  51,  96, 107, 115, 129, 148, 169,  51,  75, 102,  92,  95, 105, 119, 137,
        96, 102, 121, 117, 116, 123, 135, 150, 107,  92, 117, 133, 140, 147, 157, 170,
        115,  95, 116, 140, 159, 171, 182, 195, 129, 105, 123, 147, 171, 190, 205, 219,
        148, 119, 135, 157, 182, 205, 225, 242, 169, 137, 150, 170, 195, 219, 242, 261,

        /*Size 16 x 16*/
        64,  58,  51,  74,  96, 101, 107, 111, 115, 122, 129, 138, 148, 158, 169, 169,
        58,  60,  63,  81,  99,  99,  99, 102, 105, 111, 117, 125, 134, 143, 153, 153,
        51,  63,  75,  89, 102,  97,  92,  93,  95, 100, 105, 112, 119, 128, 137, 137,
        74,  81,  89, 100, 112, 108, 104, 105, 105, 110, 114, 120, 127, 135, 143, 143,
        96,  99, 102, 112, 121, 119, 117, 116, 116, 119, 123, 129, 135, 142, 150, 150,
        101,  99,  97, 108, 119, 122, 125, 127, 128, 132, 135, 140, 146, 153, 160, 160,
        107,  99,  92, 104, 117, 125, 133, 137, 140, 144, 147, 152, 157, 164, 170, 170,
        111, 102,  93, 105, 116, 127, 137, 143, 149, 154, 159, 164, 170, 176, 182, 182,
        115, 105,  95, 105, 116, 128, 140, 149, 159, 165, 171, 177, 182, 188, 195, 195,
        122, 111, 100, 110, 119, 132, 144, 154, 165, 173, 181, 187, 194, 200, 207, 207,
        129, 117, 105, 114, 123, 135, 147, 159, 171, 181, 190, 198, 205, 212, 219, 219,
        138, 125, 112, 120, 129, 140, 152, 164, 177, 187, 198, 206, 215, 223, 230, 230,
        148, 134, 119, 127, 135, 146, 157, 170, 182, 194, 205, 215, 225, 233, 242, 242,
        158, 143, 128, 135, 142, 153, 164, 176, 188, 200, 212, 223, 233, 242, 251, 251,
        169, 153, 137, 143, 150, 160, 170, 182, 195, 207, 219, 230, 242, 251, 261, 261,
        169, 153, 137, 143, 150, 160, 170, 182, 195, 207, 219, 230, 242, 251, 261, 261,

        /*Size 32 x 32*/
        64,  61,  58,  54,  51,  62,  74,  85,  96,  99, 101, 104, 107, 109, 111, 113,
        61,  60,  59,  58,  57,  67,  77,  88,  98,  99, 100, 102, 103, 105, 106, 108,
        58,  59,  60,  62,  63,  72,  81,  90,  99,  99,  99,  99,  99, 101, 102, 103,
        54,  58,  62,  65,  69,  77,  85,  93, 101,  99,  98,  97,  95,  97,  98,  99,
        51,  57,  63,  69,  75,  82,  89,  95, 102,  99,  97,  94,  92,  93,  93,  94,
        62,  67,  72,  77,  82,  88,  94, 101, 107, 105, 102, 100,  98,  98,  99, 100,
        74,  77,  81,  85,  89,  94, 100, 106, 112, 110, 108, 106, 104, 104, 105, 105,
        85,  88,  90,  93,  95, 101, 106, 111, 116, 115, 113, 112, 110, 110, 111, 111,
        96,  98,  99, 101, 102, 107, 112, 116, 121, 120, 119, 118, 117, 116, 116, 116,
        99,  99,  99,  99,  99, 105, 110, 115, 120, 120, 120, 120, 121, 121, 121, 122,
        101, 100,  99,  98,  97, 102, 108, 113, 119, 120, 122, 123, 125, 126, 127, 127,
        104, 102,  99,  97,  94, 100, 106, 112, 118, 120, 123, 126, 129, 130, 132, 133,
        107, 103,  99,  95,  92,  98, 104, 110, 117, 121, 125, 129, 133, 135, 137, 139,
        109, 105, 101,  97,  93,  98, 104, 110, 116, 121, 126, 130, 135, 137, 140, 142,
        111, 106, 102,  98,  93,  99, 105, 111, 116, 121, 127, 132, 137, 140, 143, 146,
        113, 108, 103,  99,  94, 100, 105, 111, 116, 122, 127, 133, 139, 142, 146, 150,

        /*Size 64 x 64*/
        64,  62,  61,  59,  58,  56,  54,  53,  51,  57,  62,  68,  74,  79,  85,  91,
        62,  61,  60,  59,  58,  57,  56,  55,  54,  59,  65,  70,  76,  81,  86,  92,
        61,  60,  60,  59,  59,  58,  58,  58,  57,  62,  67,  72,  77,  82,  88,  93,
        59,  59,  59,  59,  60,  60,  60,  60,  60,  65,  70,  74,  79,  84,  89,  94,
        58,  58,  59,  60,  60,  61,  62,  62,  63,  68,  72,  77,  81,  86,  90,  95,
        56,  57,  58,  60,  61,  62,  64,  65,  66,  70,  75,  79,  83,  87,  91,  96,
        54,  56,  58,  60,  62,  64,  65,  67,  69,  73,  77,  81,  85,  89,  93,  97,
        53,  55,  58,  60,  62,  65,  67,  70,  72,  76,  79,  83,  87,  90,  94,  98,
        51,  54,  57,  60,  63,  66,  69,  72,  75,  79,  82,  85,  89,  92,  95,  99,
        57,  59,  62,  65,  68,  70,  73,  76,  79,  82,  85,  88,  91,  95,  98, 101,
        62,  65,  67,  70,  72,  75,  77,  79,  82,  85,  88,  91,  94,  97, 101, 104,
        68,  70,  72,  74,  77,  79,  81,  83,  85,  88,  91,  94,  97, 100, 103, 106,
        74,  76,  77,  79,  81,  83,  85,  87,  89,  91,  94,  97, 100, 103, 106, 109,
        79,  81,  82,  84,  86,  87,  89,  90,  92,  95,  97, 100, 103, 106, 108, 111,
        85,  86,  88,  89,  90,  91,  93,  94,  95,  98, 101, 103, 106, 108, 111, 114,
        91,  92,  93,  94,  95,  96,  97,  98,  99, 101, 104, 106, 109, 111, 114, 116,

        /*Size 128 x 128*/
        64,  63,  62,  62,  61,  60,  59,  58,  58,  57,  56,  55,  54,  53,  53,  52,
        63,  63,  62,  61,  61,  60,  59,  59,  58,  57,  57,  56,  55,  55,  54,  53,
        62,  62,  61,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,  55,  55,
        62,  61,  61,  60,  60,  60,  59,  59,  59,  58,  58,  57,  57,  57,  56,  56,
        61,  61,  60,  60,  60,  60,  59,  59,  59,  59,  58,  58,  58,  58,  58,  57,
        60,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  59,  59,  59,
        59,  59,  59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        58,  59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  61,  61,  61,  61,  61,
        58,  58,  58,  59,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,  62,  63,
        57,  57,  58,  58,  59,  59,  60,  60,  61,  61,  62,  62,  63,  63,  64,  64,
        56,  57,  57,  58,  58,  59,  60,  60,  61,  62,  62,  63,  64,  64,  65,  66,
        55,  56,  57,  57,  58,  59,  60,  61,  61,  62,  63,  64,  65,  65,  66,  67,
        54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  65,  66,  67,  68,
        53,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  69,  70,
        53,  54,  55,  56,  58,  59,  60,  61,  62,  64,  65,  66,  67,  69,  70,  71,
        52,  53,  55,  56,  57,  59,  60,  61,  63,  64,  66,  67,  68,  70,  71,  72

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        28,  44,  49,  62,  44,  54,  58,  66,  49,  58,  74,  84,  62,  66,  84,  99,

        /*Size 8 x 8*/
        29,  24,  43,  48,  51,  57,  64,  73,  24,  34,  46,  41,  43,  47,  53,  60,
        43,  46,  54,  52,  52,  54,  59,  65,  48,  41,  52,  58,  61,  64,  68,  73,
        51,  43,  52,  61,  69,  73,  78,  82,  57,  47,  54,  64,  73,  81,  86,  91,
        64,  53,  59,  68,  78,  86,  93,  99,  73,  60,  65,  73,  82,  91,  99, 106,

        /*Size 16 x 16*/
        29,  26,  24,  33,  43,  45,  48,  49,  51,  54,  57,  61,  64,  68,  73,  73,
        26,  28,  29,  37,  44,  44,  44,  46,  47,  49,  52,  55,  59,  62,  66,  66,
        24,  29,  34,  40,  46,  43,  41,  42,  43,  45,  47,  50,  53,  56,  60,  60,
        33,  37,  40,  45,  50,  48,  46,  47,  47,  49,  50,  53,  56,  59,  62,  62,
        43,  44,  46,  50,  54,  53,  52,  52,  52,  53,  54,  57,  59,  62,  65,  65,
        45,  44,  43,  48,  53,  54,  55,  56,  56,  58,  59,  61,  63,  66,  69,  69,
        48,  44,  41,  46,  52,  55,  58,  60,  61,  63,  64,  66,  68,  70,  73,  73,
        49,  46,  42,  47,  52,  56,  60,  62,  65,  67,  69,  71,  73,  75,  78,  78,
        51,  47,  43,  47,  52,  56,  61,  65,  69,  71,  73,  75,  78,  80,  82,  82,
        54,  49,  45,  49,  53,  58,  63,  67,  71,  74,  77,  79,  82,  84,  87,  87,
        57,  52,  47,  50,  54,  59,  64,  69,  73,  77,  81,  83,  86,  89,  91,  91,
        61,  55,  50,  53,  57,  61,  66,  71,  75,  79,  83,  87,  90,  93,  95,  95,
        64,  59,  53,  56,  59,  63,  68,  73,  78,  82,  86,  90,  93,  96,  99,  99,
        68,  62,  56,  59,  62,  66,  70,  75,  80,  84,  89,  93,  96,  99, 103, 103,
        73,  66,  60,  62,  65,  69,  73,  78,  82,  87,  91,  95,  99, 103, 106, 106,
        73,  66,  60,  62,  65,  69,  73,  78,  82,  87,  91,  95,  99, 103, 106, 106,

        /*Size 32 x 32*/
        29,  28,  26,  25,  24,  28,  33,  38,  43,  44,  45,  46,  48,  48,  49,  50,
        28,  27,  27,  27,  26,  31,  35,  39,  44,  44,  45,  45,  46,  47,  47,  48,
        26,  27,  28,  28,  29,  33,  37,  40,  44,  44,  44,  44,  44,  45,  46,  46,
        25,  27,  28,  30,  32,  35,  38,  42,  45,  44,  44,  43,  43,  43,  44,  44,
        24,  26,  29,  32,  34,  37,  40,  43,  46,  44,  43,  42,  41,  42,  42,  42,
        28,  31,  33,  35,  37,  40,  42,  45,  48,  47,  46,  45,  44,  44,  44,  45,
        33,  35,  37,  38,  40,  42,  45,  47,  50,  49,  48,  47,  46,  47,  47,  47,
        38,  39,  40,  42,  43,  45,  47,  49,  52,  51,  50,  50,  49,  49,  49,  49,
        43,  44,  44,  45,  46,  48,  50,  52,  54,  53,  53,  52,  52,  52,  52,  52,
        44,  44,  44,  44,  44,  47,  49,  51,  53,  53,  53,  53,  53,  53,  54,  54,
        45,  45,  44,  44,  43,  46,  48,  50,  53,  53,  54,  54,  55,  55,  56,  56,
        46,  45,  44,  43,  42,  45,  47,  50,  52,  53,  54,  55,  57,  57,  58,  58,
        48,  46,  44,  43,  41,  44,  46,  49,  52,  53,  55,  57,  58,  59,  60,  61,
        48,  47,  45,  43,  42,  44,  47,  49,  52,  53,  55,  57,  59,  60,  61,  62,
        49,  47,  46,  44,  42,  44,  47,  49,  52,  54,  56,  58,  60,  61,  62,  64,
        50,  48,  46,  44,  42,  45,  47,  49,  52,  54,  56,  58,  61,  62,  64,  65,

        /*Size 64 x 64*/
        29,  29,  28,  27,  26,  26,  25,  24,  24,  26,  28,  31,  33,  36,  38,  41,
        29,  28,  28,  27,  27,  26,  26,  25,  25,  27,  29,  32,  34,  36,  39,  41,
        28,  28,  27,  27,  27,  27,  27,  26,  26,  28,  31,  33,  35,  37,  39,  41,
        27,  27,  27,  27,  27,  27,  27,  27,  28,  30,  32,  34,  36,  38,  40,  42,
        26,  27,  27,  27,  28,  28,  28,  29,  29,  31,  33,  35,  37,  38,  40,  42,
        26,  26,  27,  27,  28,  29,  29,  30,  30,  32,  34,  36,  37,  39,  41,  43,
        25,  26,  27,  27,  28,  29,  30,  31,  32,  33,  35,  37,  38,  40,  42,  43,
        24,  25,  26,  27,  29,  30,  31,  32,  33,  34,  36,  38,  39,  41,  42,  44,
        24,  25,  26,  28,  29,  30,  32,  33,  34,  36,  37,  38,  40,  41,  43,  44,
        26,  27,  28,  30,  31,  32,  33,  34,  36,  37,  38,  40,  41,  42,  44,  45,
        28,  29,  31,  32,  33,  34,  35,  36,  37,  38,  40,  41,  42,  44,  45,  46,
        31,  32,  33,  34,  35,  36,  37,  38,  38,  40,  41,  42,  43,  45,  46,  47,
        33,  34,  35,  36,  37,  37,  38,  39,  40,  41,  42,  43,  45,  46,  47,  48,
        36,  36,  37,  38,  38,  39,  40,  41,  41,  42,  44,  45,  46,  47,  48,  49,
        38,  39,  39,  40,  40,  41,  42,  42,  43,  44,  45,  46,  47,  48,  49,  50,
        41,  41,  41,  42,  42,  43,  43,  44,  44,  45,  46,  47,  48,  49,  50,  51,

        /*Size 128 x 128*/
        29,  29,  29,  28,  28,  27,  27,  27,  26,  26,  26,  25,  25,  25,  24,  24,
        29,  29,  28,  28,  28,  27,  27,  27,  27,  26,  26,  26,  25,  25,  25,  24,
        29,  28,  28,  28,  28,  27,  27,  27,  27,  26,  26,  26,  26,  26,  25,  25,
        28,  28,  28,  28,  28,  27,  27,  27,  27,  27,  27,  26,  26,  26,  26,  26,
        28,  28,  28,  28,  27,  27,  27,  27,  27,  27,  27,  27,  27,  26,  26,  26,
        27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,
        27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  28,
        27,  27,  27,  27,  27,  27,  27,  27,  27,  28,  28,  28,  28,  28,  28,  28,
        26,  27,  27,  27,  27,  27,  27,  27,  28,  28,  28,  28,  28,  28,  29,  29,
        26,  26,  26,  27,  27,  27,  27,  28,  28,  28,  28,  28,  29,  29,  29,  29,
        26,  26,  26,  27,  27,  27,  27,  28,  28,  28,  29,  29,  29,  29,  30,  30,
        25,  26,  26,  26,  27,  27,  27,  28,  28,  28,  29,  29,  29,  30,  30,  31,
        25,  25,  26,  26,  27,  27,  27,  28,  28,  29,  29,  29,  30,  30,  31,  31,
        25,  25,  26,  26,  26,  27,  27,  28,  28,  29,  29,  30,  30,  31,  31,  32,
        24,  25,  25,  26,  26,  27,  27,  28,  29,  29,  30,  30,  31,  31,  32,  32,
        24,  24,  25,  26,  26,  27,  28,  28,  29,  29,  30,  31,  31,  32,  32,  33

      }
    }
  },
  {
    /* QM level 4*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        55,  59,  91, 128,  59,  85, 110, 136,  91, 110, 140, 159, 128, 136, 159, 175,

        /*Size 8 x 8*/
        64,  50,  53,  68,  87, 107, 127, 144,  50,  56,  54,  62,  77,  94, 113, 130,
        53,  54,  73,  83,  94, 108, 123, 138,  68,  62,  83, 101, 113, 125, 137, 148,
        87,  77,  94, 113, 129, 140, 150, 159, 107,  94, 108, 125, 140, 152, 161, 168,
        127, 113, 123, 137, 150, 161, 169, 176, 144, 130, 138, 148, 159, 168, 176, 182,

        /*Size 16 x 16*/
        64,  57,  50,  52,  53,  61,  68,  78,  87,  97, 107, 117, 127, 135, 144, 144,
        57,  55,  53,  53,  54,  59,  65,  74,  82,  91, 101, 110, 120, 128, 137, 137,
        50,  53,  56,  55,  54,  58,  62,  70,  77,  86,  94, 103, 113, 121, 130, 130,
        52,  53,  55,  59,  63,  68,  73,  79,  85,  93, 101, 109, 118, 126, 134, 134,
        53,  54,  54,  63,  73,  78,  83,  88,  94, 101, 108, 115, 123, 130, 138, 138,
        61,  59,  58,  68,  78,  85,  92,  98, 104, 110, 116, 123, 130, 136, 143, 143,
        68,  65,  62,  73,  83,  92, 101, 107, 113, 119, 125, 131, 137, 142, 148, 148,
        78,  74,  70,  79,  88,  98, 107, 114, 121, 127, 132, 138, 143, 148, 153, 153,
        87,  82,  77,  85,  94, 104, 113, 121, 129, 134, 140, 145, 150, 154, 159, 159,
        97,  91,  86,  93, 101, 110, 119, 127, 134, 140, 146, 151, 155, 159, 163, 163,
        107, 101,  94, 101, 108, 116, 125, 132, 140, 146, 152, 156, 161, 164, 168, 168,
        117, 110, 103, 109, 115, 123, 131, 138, 145, 151, 156, 161, 165, 168, 172, 172,
        127, 120, 113, 118, 123, 130, 137, 143, 150, 155, 161, 165, 169, 172, 176, 176,
        135, 128, 121, 126, 130, 136, 142, 148, 154, 159, 164, 168, 172, 175, 179, 179,
        144, 137, 130, 134, 138, 143, 148, 153, 159, 163, 168, 172, 176, 179, 182, 182,
        144, 137, 130, 134, 138, 143, 148, 153, 159, 163, 168, 172, 176, 179, 182, 182,

        /*Size 32 x 32*/
        64,  60,  57,  53,  50,  51,  52,  52,  53,  57,  61,  64,  68,  73,  78,  82,
        60,  58,  56,  54,  51,  52,  52,  53,  53,  57,  60,  63,  67,  71,  76,  80,
        57,  56,  55,  54,  53,  53,  53,  53,  54,  57,  59,  62,  65,  69,  74,  78,
        53,  54,  54,  54,  55,  54,  54,  54,  54,  56,  59,  61,  64,  68,  72,  75,
        50,  51,  53,  55,  56,  56,  55,  55,  54,  56,  58,  60,  62,  66,  70,  73,
        51,  52,  53,  54,  56,  56,  57,  58,  59,  61,  63,  65,  67,  71,  74,  78,
        52,  52,  53,  54,  55,  57,  59,  61,  63,  66,  68,  70,  73,  76,  79,  82,
        52,  53,  53,  54,  55,  58,  61,  65,  68,  70,  73,  75,  78,  81,  84,  87,
        53,  53,  54,  54,  54,  59,  63,  68,  73,  75,  78,  80,  83,  86,  88,  91,
        57,  57,  57,  56,  56,  61,  66,  70,  75,  78,  81,  84,  87,  90,  93,  96,
        61,  60,  59,  59,  58,  63,  68,  73,  78,  81,  85,  88,  92,  95,  98, 101,
        64,  63,  62,  61,  60,  65,  70,  75,  80,  84,  88,  92,  96,  99, 102, 105,
        68,  67,  65,  64,  62,  67,  73,  78,  83,  87,  92,  96, 101, 104, 107, 110,
        73,  71,  69,  68,  66,  71,  76,  81,  86,  90,  95,  99, 104, 107, 110, 114,
        78,  76,  74,  72,  70,  74,  79,  84,  88,  93,  98, 102, 107, 110, 114, 117,
        82,  80,  78,  75,  73,  78,  82,  87,  91,  96, 101, 105, 110, 114, 117, 121,

        /*Size 64 x 64*/
        64,  62,  60,  59,  57,  55,  53,  52,  50,  50,  51,  51,  52,  52,  52,  53,
        62,  61,  59,  58,  56,  55,  53,  52,  51,  51,  51,  52,  52,  52,  53,  53,
        60,  59,  58,  57,  56,  55,  54,  53,  51,  52,  52,  52,  52,  53,  53,  53,
        59,  58,  57,  56,  55,  55,  54,  53,  52,  52,  53,  53,  53,  53,  53,  53,
        57,  56,  56,  55,  55,  54,  54,  53,  53,  53,  53,  53,  53,  53,  53,  54,
        55,  55,  55,  55,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,
        53,  53,  54,  54,  54,  54,  54,  54,  55,  55,  54,  54,  54,  54,  54,  54,
        52,  52,  53,  53,  53,  54,  54,  55,  55,  55,  55,  55,  55,  54,  54,  54,
        50,  51,  51,  52,  53,  54,  55,  55,  56,  56,  56,  55,  55,  55,  55,  54,
        50,  51,  52,  52,  53,  54,  55,  55,  56,  56,  56,  56,  56,  56,  56,  56,
        51,  51,  52,  53,  53,  54,  54,  55,  56,  56,  56,  57,  57,  58,  58,  58,
        51,  52,  52,  53,  53,  54,  54,  55,  55,  56,  57,  57,  58,  59,  60,  60,
        52,  52,  52,  53,  53,  54,  54,  55,  55,  56,  57,  58,  59,  60,  61,  62,
        52,  52,  53,  53,  53,  54,  54,  54,  55,  56,  58,  59,  60,  62,  63,  64,
        52,  53,  53,  53,  53,  54,  54,  54,  55,  56,  58,  60,  61,  63,  65,  66,
        53,  53,  53,  53,  54,  54,  54,  54,  54,  56,  58,  60,  62,  64,  66,  68,

        /*Size 128 x 128*/
        64,  63,  62,  61,  60,  60,  59,  58,  57,  56,  55,  54,  53,  52,  52,  51,
        63,  62,  61,  61,  60,  59,  58,  57,  57,  56,  55,  54,  53,  53,  52,  51,
        62,  61,  61,  60,  59,  59,  58,  57,  56,  56,  55,  54,  53,  53,  52,  51,
        61,  61,  60,  59,  59,  58,  57,  57,  56,  56,  55,  54,  54,  53,  52,  52,
        60,  60,  59,  59,  58,  58,  57,  56,  56,  55,  55,  54,  54,  53,  53,  52,
        60,  59,  59,  58,  58,  57,  57,  56,  56,  55,  55,  54,  54,  53,  53,  52,
        59,  58,  58,  57,  57,  57,  56,  56,  55,  55,  55,  54,  54,  53,  53,  53,
        58,  57,  57,  57,  56,  56,  56,  56,  55,  55,  55,  54,  54,  54,  53,  53,
        57,  57,  56,  56,  56,  56,  55,  55,  55,  55,  54,  54,  54,  54,  53,  53,
        56,  56,  56,  56,  55,  55,  55,  55,  55,  55,  54,  54,  54,  54,  54,  54,
        55,  55,  55,  55,  55,  55,  55,  55,  54,  54,  54,  54,  54,  54,  54,  54,
        54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,
        53,  53,  53,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  54,  55,
        52,  53,  53,  53,  53,  53,  53,  54,  54,  54,  54,  54,  54,  55,  55,  55,
        52,  52,  52,  52,  53,  53,  53,  53,  53,  54,  54,  54,  54,  55,  55,  55,
        51,  51,  51,  52,  52,  52,  53,  53,  53,  54,  54,  54,  55,  55,  55,  56

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        23,  25,  42,  66,  25,  38,  54,  72,  42,  54,  75,  91,  66,  72,  91, 106,

        /*Size 8 x 8*/
        28,  21,  22,  30,  40,  52,  65,  78,  21,  24,  23,  27,  34,  44,  55,  67,
        22,  23,  32,  37,  44,  52,  62,  73,  30,  27,  37,  48,  56,  64,  72,  81,
        40,  34,  44,  56,  66,  75,  83,  90,  52,  44,  52,  64,  75,  84,  92,  99,
        65,  55,  62,  72,  83,  92, 100, 106,  78,  67,  73,  81,  90,  99, 106, 112,

        /*Size 16 x 16*/
        28,  24,  21,  21,  22,  26,  30,  35,  40,  46,  52,  58,  65,  71,  78,  78,
        24,  23,  22,  22,  23,  25,  28,  32,  37,  42,  48,  54,  60,  66,  72,  72,
        21,  22,  24,  23,  23,  25,  27,  30,  34,  39,  44,  50,  55,  61,  67,  67,
        21,  22,  23,  25,  27,  30,  32,  35,  39,  44,  48,  53,  59,  64,  70,  70,
        22,  23,  23,  27,  32,  35,  37,  41,  44,  48,  52,  57,  62,  67,  73,  73,
        26,  25,  25,  30,  35,  38,  42,  46,  50,  54,  58,  62,  67,  72,  77,  77,
        30,  28,  27,  32,  37,  42,  48,  52,  56,  60,  64,  68,  72,  77,  81,  81,
        35,  32,  30,  35,  41,  46,  52,  56,  61,  65,  69,  73,  77,  81,  86,  86,
        40,  37,  34,  39,  44,  50,  56,  61,  66,  70,  75,  79,  83,  86,  90,  90,
        46,  42,  39,  44,  48,  54,  60,  65,  70,  75,  79,  83,  87,  91,  94,  94,
        52,  48,  44,  48,  52,  58,  64,  69,  75,  79,  84,  88,  92,  95,  99,  99,
        58,  54,  50,  53,  57,  62,  68,  73,  79,  83,  88,  92,  96,  99, 102, 102,
        65,  60,  55,  59,  62,  67,  72,  77,  83,  87,  92,  96, 100, 103, 106, 106,
        71,  66,  61,  64,  67,  72,  77,  81,  86,  91,  95,  99, 103, 106, 109, 109,
        78,  72,  67,  70,  73,  77,  81,  86,  90,  94,  99, 102, 106, 109, 112, 112,
        78,  72,  67,  70,  73,  77,  81,  86,  90,  94,  99, 102, 106, 109, 112, 112,

        /*Size 32 x 32*/
        28,  26,  24,  22,  21,  21,  21,  22,  22,  24,  26,  28,  30,  32,  35,  37,
        26,  25,  24,  22,  21,  22,  22,  22,  22,  24,  26,  27,  29,  31,  34,  36,
        24,  24,  23,  23,  22,  22,  22,  22,  23,  24,  25,  27,  28,  30,  32,  35,
        22,  22,  23,  23,  23,  23,  23,  23,  23,  24,  25,  26,  27,  29,  31,  33,
        21,  21,  22,  23,  24,  24,  23,  23,  23,  24,  25,  26,  27,  28,  30,  32,
        21,  22,  22,  23,  24,  24,  24,  25,  25,  26,  27,  28,  29,  31,  33,  35,
        21,  22,  22,  23,  23,  24,  25,  26,  27,  28,  30,  31,  32,  34,  35,  37,
        22,  22,  22,  23,  23,  25,  26,  28,  30,  31,  32,  33,  35,  36,  38,  40,
        22,  22,  23,  23,  23,  25,  27,  30,  32,  33,  35,  36,  37,  39,  41,  42,
        24,  24,  24,  24,  24,  26,  28,  31,  33,  35,  36,  38,  40,  42,  43,  45,
        26,  26,  25,  25,  25,  27,  30,  32,  35,  36,  38,  40,  42,  44,  46,  48,
        28,  27,  27,  26,  26,  28,  31,  33,  36,  38,  40,  43,  45,  47,  49,  51,
        30,  29,  28,  27,  27,  29,  32,  35,  37,  40,  42,  45,  48,  50,  52,  54,
        32,  31,  30,  29,  28,  31,  34,  36,  39,  42,  44,  47,  50,  52,  54,  56,
        35,  34,  32,  31,  30,  33,  35,  38,  41,  43,  46,  49,  52,  54,  56,  58,
        37,  36,  35,  33,  32,  35,  37,  40,  42,  45,  48,  51,  54,  56,  58,  61,

        /*Size 64 x 64*/
        28,  27,  26,  25,  24,  23,  22,  21,  21,  21,  21,  21,  21,  22,  22,  22,
        27,  26,  25,  24,  24,  23,  22,  22,  21,  21,  21,  21,  22,  22,  22,  22,
        26,  25,  25,  24,  24,  23,  22,  22,  21,  21,  22,  22,  22,  22,  22,  22,
        25,  24,  24,  24,  23,  23,  23,  22,  22,  22,  22,  22,  22,  22,  22,  22,
        24,  24,  24,  23,  23,  23,  23,  22,  22,  22,  22,  22,  22,  22,  22,  22,
        23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,
        22,  22,  22,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,
        21,  22,  22,  22,  22,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,
        21,  21,  21,  22,  22,  23,  23,  23,  24,  24,  24,  23,  23,  23,  23,  23,
        21,  21,  21,  22,  22,  23,  23,  23,  24,  24,  24,  24,  24,  24,  24,  24,
        21,  21,  22,  22,  22,  23,  23,  23,  24,  24,  24,  24,  24,  24,  25,  25,
        21,  21,  22,  22,  22,  23,  23,  23,  23,  24,  24,  24,  25,  25,  25,  26,
        21,  22,  22,  22,  22,  23,  23,  23,  23,  24,  24,  25,  25,  26,  26,  27,
        22,  22,  22,  22,  22,  23,  23,  23,  23,  24,  24,  25,  26,  26,  27,  28,
        22,  22,  22,  22,  22,  23,  23,  23,  23,  24,  25,  25,  26,  27,  28,  29,
        22,  22,  22,  22,  22,  23,  23,  23,  23,  24,  25,  26,  27,  28,  29,  30,

        /*Size 128 x 128*/
        28,  27,  27,  26,  26,  25,  25,  24,  24,  24,  23,  23,  22,  22,  21,  21,
        27,  27,  26,  26,  25,  25,  25,  24,  24,  23,  23,  23,  22,  22,  21,  21,
        27,  26,  26,  26,  25,  25,  24,  24,  24,  23,  23,  23,  22,  22,  22,  21,
        26,  26,  26,  25,  25,  25,  24,  24,  24,  23,  23,  23,  22,  22,  22,  21,
        26,  25,  25,  25,  25,  24,  24,  24,  24,  23,  23,  23,  22,  22,  22,  22,
        25,  25,  25,  25,  24,  24,  24,  24,  23,  23,  23,  23,  22,  22,  22,  22,
        25,  25,  24,  24,  24,  24,  24,  23,  23,  23,  23,  23,  23,  22,  22,  22,
        24,  24,  24,  24,  24,  24,  23,  23,  23,  23,  23,  23,  23,  22,  22,  22,
        24,  24,  24,  24,  24,  23,  23,  23,  23,  23,  23,  23,  23,  22,  22,  22,
        24,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  22,  22,
        23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,
        23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,
        22,  22,  22,  22,  22,  22,  23,  23,  23,  23,  23,  23,  23,  23,  23,  23,
        22,  22,  22,  22,  22,  22,  22,  22,  22,  23,  23,  23,  23,  23,  23,  23,
        21,  21,  22,  22,  22,  22,  22,  22,  22,  22,  23,  23,  23,  23,  23,  23,
        21,  21,  21,  21,  22,  22,  22,  22,  22,  22,  23,  23,  23,  23,  23,  23

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        61,  89,  97, 120,  89, 105, 112, 127,  97, 112, 141, 159, 120, 127, 159, 184,

        /*Size 8 x 8*/
        64,  52,  92,  94, 100, 111, 124, 139,  52,  74,  90,  82,  84,  92, 103, 116,
        92,  90, 104, 101, 101, 106, 114, 125,  94,  82, 101, 113, 119, 123, 130, 139,
        100,  84, 101, 119, 131, 140, 147, 155, 111,  92, 106, 123, 140, 152, 162, 170,
        124, 103, 114, 130, 147, 162, 174, 183, 139, 116, 125, 139, 155, 170, 183, 194,

        /*Size 16 x 16*/
        64,  58,  52,  72,  92,  93,  94,  97, 100, 105, 111, 117, 124, 131, 139, 139,
        58,  61,  63,  77,  91,  89,  88,  90,  92,  97, 101, 107, 113, 120, 127, 127,
        52,  63,  74,  82,  90,  86,  82,  83,  84,  88,  92,  98, 103, 110, 116, 116,
        72,  77,  82,  90,  97,  94,  92,  92,  93,  96,  99, 104, 109, 115, 121, 121,
        92,  91,  90,  97, 104, 103, 101, 101, 101, 103, 106, 110, 114, 120, 125, 125,
        93,  89,  86,  94, 103, 105, 107, 108, 110, 112, 115, 118, 122, 127, 132, 132,
        94,  88,  82,  92, 101, 107, 113, 116, 119, 121, 123, 127, 130, 135, 139, 139,
        97,  90,  83,  92, 101, 108, 116, 120, 125, 128, 131, 135, 139, 143, 147, 147,
        100,  92,  84,  93, 101, 110, 119, 125, 131, 135, 140, 143, 147, 151, 155, 155,
        105,  97,  88,  96, 103, 112, 121, 128, 135, 141, 146, 150, 154, 159, 163, 163,
        111, 101,  92,  99, 106, 115, 123, 131, 140, 146, 152, 157, 162, 166, 170, 170,
        117, 107,  98, 104, 110, 118, 127, 135, 143, 150, 157, 162, 168, 172, 177, 177,
        124, 113, 103, 109, 114, 122, 130, 139, 147, 154, 162, 168, 174, 178, 183, 183,
        131, 120, 110, 115, 120, 127, 135, 143, 151, 159, 166, 172, 178, 184, 189, 189,
        139, 127, 116, 121, 125, 132, 139, 147, 155, 163, 170, 177, 183, 189, 194, 194,
        139, 127, 116, 121, 125, 132, 139, 147, 155, 163, 170, 177, 183, 189, 194, 194,

        /*Size 32 x 32*/
        64,  61,  58,  55,  52,  62,  72,  82,  92,  92,  93,  93,  94,  95,  97,  98,
        61,  60,  59,  58,  58,  66,  74,  83,  91,  91,  91,  91,  91,  92,  93,  94,
        58,  59,  61,  62,  63,  70,  77,  84,  91,  90,  89,  89,  88,  89,  90,  91,
        55,  58,  62,  65,  69,  74,  79,  85,  90,  89,  88,  86,  85,  86,  86,  87,
        52,  58,  63,  69,  74,  78,  82,  86,  90,  88,  86,  84,  82,  83,  83,  84,
        62,  66,  70,  74,  78,  82,  86,  90,  94,  92,  90,  88,  87,  87,  88,  88,
        72,  74,  77,  79,  82,  86,  90,  93,  97,  96,  94,  93,  92,  92,  92,  92,
        82,  83,  84,  85,  86,  90,  93,  97, 101, 100,  98,  97,  96,  96,  96,  97,
        92,  91,  91,  90,  90,  94,  97, 101, 104, 103, 103, 102, 101, 101, 101, 101,
        92,  91,  90,  89,  88,  92,  96, 100, 103, 104, 104, 104, 104, 104, 105, 105,
        93,  91,  89,  88,  86,  90,  94,  98, 103, 104, 105, 106, 107, 108, 108, 109,
        93,  91,  89,  86,  84,  88,  93,  97, 102, 104, 106, 108, 110, 111, 112, 113,
        94,  91,  88,  85,  82,  87,  92,  96, 101, 104, 107, 110, 113, 115, 116, 117,
        95,  92,  89,  86,  83,  87,  92,  96, 101, 104, 108, 111, 115, 116, 118, 120,
        97,  93,  90,  86,  83,  88,  92,  96, 101, 105, 108, 112, 116, 118, 120, 123,
        98,  94,  91,  87,  84,  88,  92,  97, 101, 105, 109, 113, 117, 120, 123, 125,

        /*Size 64 x 64*/
        64,  63,  61,  60,  58,  57,  55,  54,  52,  57,  62,  67,  72,  77,  82,  87,
        63,  62,  61,  60,  59,  58,  57,  56,  55,  59,  64,  69,  73,  78,  82,  87,
        61,  61,  60,  60,  59,  59,  58,  58,  58,  62,  66,  70,  74,  79,  83,  87,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  64,  68,  72,  76,  80,  83,  87,
        58,  59,  59,  60,  61,  61,  62,  62,  63,  66,  70,  73,  77,  80,  84,  87,
        57,  58,  59,  60,  61,  62,  63,  65,  66,  69,  72,  75,  78,  81,  84,  88,
        55,  57,  58,  60,  62,  63,  65,  67,  69,  71,  74,  77,  79,  82,  85,  88,
        54,  56,  58,  60,  62,  65,  67,  69,  71,  74,  76,  78,  81,  83,  85,  88,
        52,  55,  58,  60,  63,  66,  69,  71,  74,  76,  78,  80,  82,  84,  86,  88,
        57,  59,  62,  64,  66,  69,  71,  74,  76,  78,  80,  82,  84,  86,  88,  90,
        62,  64,  66,  68,  70,  72,  74,  76,  78,  80,  82,  84,  86,  88,  90,  92,
        67,  69,  70,  72,  73,  75,  77,  78,  80,  82,  84,  86,  88,  90,  92,  93,
        72,  73,  74,  76,  77,  78,  79,  81,  82,  84,  86,  88,  90,  91,  93,  95,
        77,  78,  79,  80,  80,  81,  82,  83,  84,  86,  88,  90,  91,  93,  95,  97,
        82,  82,  83,  83,  84,  84,  85,  85,  86,  88,  90,  92,  93,  95,  97,  99,
        87,  87,  87,  87,  87,  88,  88,  88,  88,  90,  92,  93,  95,  97,  99, 101,

        /*Size 128 x 128*/
        64,  63,  63,  62,  61,  60,  60,  59,  58,  57,  57,  56,  55,  54,  54,  53,
        63,  63,  62,  61,  61,  60,  60,  59,  58,  58,  57,  56,  56,  55,  55,  54,
        63,  62,  62,  61,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,  55,
        62,  61,  61,  61,  60,  60,  60,  59,  59,  59,  58,  58,  58,  57,  57,  56,
        61,  61,  61,  60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,  58,  58,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  61,  61,  61,  61,  61,  61,
        58,  58,  59,  59,  59,  60,  60,  60,  61,  61,  61,  61,  62,  62,  62,  63,
        57,  58,  58,  59,  59,  59,  60,  60,  61,  61,  62,  62,  63,  63,  63,  64,
        57,  57,  58,  58,  59,  59,  60,  61,  61,  62,  62,  63,  63,  64,  65,  65,
        56,  56,  57,  58,  59,  59,  60,  61,  61,  62,  63,  64,  64,  65,  66,  66,
        55,  56,  57,  58,  58,  59,  60,  61,  62,  63,  63,  64,  65,  66,  67,  68,
        54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
        54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  65,  66,  67,  68,  69,  70,
        53,  54,  55,  56,  58,  59,  60,  61,  63,  64,  65,  66,  68,  69,  70,  71

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        33,  48,  52,  63,  48,  56,  59,  67,  52,  59,  73,  81,  63,  67,  81,  92,

        /*Size 8 x 8*/
        35,  29,  50,  51,  54,  59,  65,  72,  29,  41,  49,  45,  46,  50,  55,  61,
        50,  49,  56,  54,  54,  57,  61,  66,  51,  45,  54,  60,  63,  65,  68,  72,
        54,  46,  54,  63,  69,  73,  76,  80,  59,  50,  57,  65,  73,  78,  83,  86,
        65,  55,  61,  68,  76,  83,  88,  92,  72,  61,  66,  72,  80,  86,  92,  97,

        /*Size 16 x 16*/
        35,  32,  29,  39,  50,  50,  51,  52,  54,  56,  59,  62,  65,  69,  72,  72,
        32,  33,  35,  42,  49,  48,  48,  49,  50,  52,  54,  57,  60,  63,  67,  67,
        29,  35,  41,  45,  49,  47,  45,  45,  46,  48,  50,  53,  55,  58,  61,  61,
        39,  42,  45,  48,  52,  51,  49,  50,  50,  52,  53,  56,  58,  61,  64,  64,
        50,  49,  49,  52,  56,  55,  54,  54,  54,  55,  57,  59,  61,  63,  66,  66,
        50,  48,  47,  51,  55,  56,  57,  58,  58,  59,  61,  62,  64,  67,  69,  69,
        51,  48,  45,  49,  54,  57,  60,  61,  63,  64,  65,  66,  68,  70,  72,  72,
        52,  49,  45,  50,  54,  58,  61,  63,  66,  67,  69,  70,  72,  74,  76,  76,
        54,  50,  46,  50,  54,  58,  63,  66,  69,  71,  73,  74,  76,  78,  80,  80,
        56,  52,  48,  52,  55,  59,  64,  67,  71,  73,  75,  77,  79,  81,  83,  83,
        59,  54,  50,  53,  57,  61,  65,  69,  73,  75,  78,  80,  83,  84,  86,  86,
        62,  57,  53,  56,  59,  62,  66,  70,  74,  77,  80,  83,  85,  87,  89,  89,
        65,  60,  55,  58,  61,  64,  68,  72,  76,  79,  83,  85,  88,  90,  92,  92,
        69,  63,  58,  61,  63,  67,  70,  74,  78,  81,  84,  87,  90,  92,  94,  94,
        72,  67,  61,  64,  66,  69,  72,  76,  80,  83,  86,  89,  92,  94,  97,  97,
        72,  67,  61,  64,  66,  69,  72,  76,  80,  83,  86,  89,  92,  94,  97,  97,

        /*Size 32 x 32*/
        35,  34,  32,  31,  29,  34,  39,  44,  50,  50,  50,  50,  51,  51,  52,  53,
        34,  33,  33,  32,  32,  36,  41,  45,  49,  49,  49,  49,  49,  50,  50,  51,
        32,  33,  33,  34,  35,  38,  42,  46,  49,  49,  48,  48,  48,  48,  49,  49,
        31,  32,  34,  36,  38,  40,  43,  46,  49,  48,  47,  47,  46,  46,  47,  47,
        29,  32,  35,  38,  41,  43,  45,  47,  49,  48,  47,  46,  45,  45,  45,  45,
        34,  36,  38,  40,  43,  45,  47,  49,  51,  50,  49,  48,  47,  47,  47,  48,
        39,  41,  42,  43,  45,  47,  48,  50,  52,  52,  51,  50,  49,  50,  50,  50,
        44,  45,  46,  46,  47,  49,  50,  52,  54,  53,  53,  52,  52,  52,  52,  52,
        50,  49,  49,  49,  49,  51,  52,  54,  56,  55,  55,  55,  54,  54,  54,  54,
        50,  49,  49,  48,  48,  50,  52,  53,  55,  55,  56,  56,  56,  56,  56,  56,
        50,  49,  48,  47,  47,  49,  51,  53,  55,  56,  56,  57,  57,  57,  58,  58,
        50,  49,  48,  47,  46,  48,  50,  52,  55,  56,  57,  58,  59,  59,  59,  60,
        51,  49,  48,  46,  45,  47,  49,  52,  54,  56,  57,  59,  60,  61,  61,  62,
        51,  50,  48,  46,  45,  47,  50,  52,  54,  56,  57,  59,  61,  61,  62,  63,
        52,  50,  49,  47,  45,  47,  50,  52,  54,  56,  58,  59,  61,  62,  63,  64,
        53,  51,  49,  47,  45,  48,  50,  52,  54,  56,  58,  60,  62,  63,  64,  66,

        /*Size 64 x 64*/
        35,  34,  34,  33,  32,  31,  31,  30,  29,  32,  34,  37,  39,  42,  44,  47,
        34,  34,  33,  33,  32,  32,  31,  31,  30,  33,  35,  38,  40,  42,  45,  47,
        34,  33,  33,  33,  33,  33,  32,  32,  32,  34,  36,  38,  41,  43,  45,  47,
        33,  33,  33,  33,  33,  33,  33,  33,  33,  35,  37,  39,  41,  43,  45,  47,
        32,  32,  33,  33,  33,  34,  34,  34,  35,  37,  38,  40,  42,  44,  46,  47,
        31,  32,  33,  33,  34,  34,  35,  36,  36,  38,  39,  41,  43,  44,  46,  47,
        31,  31,  32,  33,  34,  35,  36,  37,  38,  39,  40,  42,  43,  45,  46,  48,
        30,  31,  32,  33,  34,  36,  37,  38,  39,  40,  42,  43,  44,  45,  46,  48,
        29,  30,  32,  33,  35,  36,  38,  39,  41,  42,  43,  44,  45,  46,  47,  48,
        32,  33,  34,  35,  37,  38,  39,  40,  42,  43,  44,  45,  46,  47,  48,  49,
        34,  35,  36,  37,  38,  39,  40,  42,  43,  44,  45,  46,  47,  48,  49,  50,
        37,  38,  38,  39,  40,  41,  42,  43,  44,  45,  46,  47,  47,  48,  49,  50,
        39,  40,  41,  41,  42,  43,  43,  44,  45,  46,  47,  47,  48,  49,  50,  51,
        42,  42,  43,  43,  44,  44,  45,  45,  46,  47,  48,  48,  49,  50,  51,  52,
        44,  45,  45,  45,  46,  46,  46,  46,  47,  48,  49,  49,  50,  51,  52,  53,
        47,  47,  47,  47,  47,  47,  48,  48,  48,  49,  50,  50,  51,  52,  53,  54,

        /*Size 128 x 128*/
        35,  35,  34,  34,  34,  33,  33,  33,  32,  32,  31,  31,  31,  30,  30,  29,
        35,  35,  34,  34,  34,  33,  33,  33,  32,  32,  32,  31,  31,  31,  30,  30,
        34,  34,  34,  34,  33,  33,  33,  33,  32,  32,  32,  32,  31,  31,  31,  31,
        34,  34,  34,  34,  33,  33,  33,  33,  33,  32,  32,  32,  32,  32,  32,  31,
        34,  34,  33,  33,  33,  33,  33,  33,  33,  33,  33,  32,  32,  32,  32,  32,
        33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,
        33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,
        33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  33,  34,  34,  34,  34,  34,
        32,  32,  32,  33,  33,  33,  33,  33,  33,  34,  34,  34,  34,  34,  34,  35,
        32,  32,  32,  32,  33,  33,  33,  33,  34,  34,  34,  34,  35,  35,  35,  35,
        31,  32,  32,  32,  33,  33,  33,  33,  34,  34,  34,  35,  35,  35,  36,  36,
        31,  31,  32,  32,  32,  33,  33,  34,  34,  34,  35,  35,  35,  36,  36,  37,
        31,  31,  31,  32,  32,  33,  33,  34,  34,  35,  35,  35,  36,  36,  37,  37,
        30,  31,  31,  32,  32,  33,  33,  34,  34,  35,  35,  36,  36,  37,  37,  38,
        30,  30,  31,  32,  32,  33,  33,  34,  34,  35,  36,  36,  37,  37,  38,  38,
        29,  30,  31,  31,  32,  33,  33,  34,  35,  35,  36,  37,  37,  38,  38,  39

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        61,  95, 104, 129,  95, 113, 121, 137, 104, 121, 151, 170, 129, 137, 170, 196,

        /*Size 8 x 8*/
        64,  52,  92, 101, 107, 119, 133, 149,  52,  74,  97,  89,  91, 100, 111, 125,
        92,  97, 113, 109, 109, 114, 123, 135, 101,  89, 109, 122, 128, 133, 140, 150,
        107,  91, 109, 128, 141, 150, 158, 166, 119, 100, 114, 133, 150, 163, 173, 182,
        133, 111, 123, 140, 158, 173, 186, 196, 149, 125, 135, 150, 166, 182, 196, 207,

        /*Size 16 x 16*/
        64,  58,  52,  72,  92,  97, 101, 104, 107, 113, 119, 126, 133, 141, 149, 149,
        58,  61,  63,  79,  95,  95,  95,  97,  99, 104, 109, 116, 122, 129, 137, 137,
        52,  63,  74,  86,  97,  93,  89,  90,  91,  95, 100, 105, 111, 118, 125, 125,
        72,  79,  86,  95, 105, 102,  99,  99, 100, 103, 107, 112, 117, 123, 130, 130,
        92,  95,  97, 105, 113, 111, 109, 109, 109, 111, 114, 118, 123, 129, 135, 135,
        97,  95,  93, 102, 111, 113, 116, 117, 118, 121, 123, 127, 131, 137, 142, 142,
        101,  95,  89,  99, 109, 116, 122, 125, 128, 130, 133, 136, 140, 145, 150, 150,
        104,  97,  90,  99, 109, 117, 125, 130, 134, 138, 141, 145, 149, 153, 158, 158,
        107,  99,  91, 100, 109, 118, 128, 134, 141, 145, 150, 154, 158, 162, 166, 166,
        113, 104,  95, 103, 111, 121, 130, 138, 145, 151, 156, 161, 165, 170, 174, 174,
        119, 109, 100, 107, 114, 123, 133, 141, 150, 156, 163, 168, 173, 178, 182, 182,
        126, 116, 105, 112, 118, 127, 136, 145, 154, 161, 168, 174, 179, 184, 189, 189,
        133, 122, 111, 117, 123, 131, 140, 149, 158, 165, 173, 179, 186, 191, 196, 196,
        141, 129, 118, 123, 129, 137, 145, 153, 162, 170, 178, 184, 191, 196, 201, 201,
        149, 137, 125, 130, 135, 142, 150, 158, 166, 174, 182, 189, 196, 201, 207, 207,
        149, 137, 125, 130, 135, 142, 150, 158, 166, 174, 182, 189, 196, 201, 207, 207,

        /*Size 32 x 32*/
        64,  61,  58,  55,  52,  62,  72,  82,  92,  94,  97,  99, 101, 103, 104, 106,
        61,  60,  59,  58,  58,  67,  76,  85,  94,  95,  96,  97,  98,  99, 101, 102,
        58,  59,  61,  62,  63,  71,  79,  87,  95,  95,  95,  95,  95,  96,  97,  98,
        55,  58,  62,  65,  69,  76,  82,  89,  96,  95,  94,  93,  92,  92,  93,  94,
        52,  58,  63,  69,  74,  80,  86,  92,  97,  95,  93,  91,  89,  89,  90,  90,
        62,  67,  71,  76,  80,  85,  91,  96, 101,  99,  97,  95,  94,  94,  95,  95,
        72,  76,  79,  82,  86,  91,  95, 100, 105, 103, 102, 100,  99,  99,  99, 100,
        82,  85,  87,  89,  92,  96, 100, 104, 109, 107, 106, 105, 104, 104, 104, 104,
        92,  94,  95,  96,  97, 101, 105, 109, 113, 112, 111, 110, 109, 109, 109, 109,
        94,  95,  95,  95,  95,  99, 103, 107, 112, 112, 112, 112, 112, 113, 113, 113,
        97,  96,  95,  94,  93,  97, 102, 106, 111, 112, 113, 114, 116, 116, 117, 117,
        99,  97,  95,  93,  91,  95, 100, 105, 110, 112, 114, 117, 119, 120, 121, 122,
        101,  98,  95,  92,  89,  94,  99, 104, 109, 112, 116, 119, 122, 123, 125, 126,
        103,  99,  96,  92,  89,  94,  99, 104, 109, 113, 116, 120, 123, 125, 127, 129,
        104, 101,  97,  93,  90,  95,  99, 104, 109, 113, 117, 121, 125, 127, 130, 132,
        106, 102,  98,  94,  90,  95, 100, 104, 109, 113, 117, 122, 126, 129, 132, 135,

        /*Size 64 x 64*/
        64,  63,  61,  60,  58,  57,  55,  54,  52,  57,  62,  67,  72,  77,  82,  87,
        63,  62,  61,  60,  59,  58,  57,  56,  55,  60,  64,  69,  74,  79,  83,  88,
        61,  61,  60,  60,  59,  59,  58,  58,  58,  62,  67,  71,  76,  80,  85,  89,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  65,  69,  73,  77,  81,  86,  90,
        58,  59,  59,  60,  61,  61,  62,  62,  63,  67,  71,  75,  79,  83,  87,  91,
        57,  58,  59,  60,  61,  62,  64,  65,  66,  70,  73,  77,  81,  84,  88,  92,
        55,  57,  58,  60,  62,  64,  65,  67,  69,  72,  76,  79,  82,  86,  89,  93,
        54,  56,  58,  60,  62,  65,  67,  69,  71,  75,  78,  81,  84,  87,  90,  93,
        52,  55,  58,  60,  63,  66,  69,  71,  74,  77,  80,  83,  86,  89,  92,  94,
        57,  60,  62,  65,  67,  70,  72,  75,  77,  80,  83,  85,  88,  91,  94,  96,
        62,  64,  67,  69,  71,  73,  76,  78,  80,  83,  85,  88,  91,  93,  96,  98,
        67,  69,  71,  73,  75,  77,  79,  81,  83,  85,  88,  90,  93,  95,  98, 100,
        72,  74,  76,  77,  79,  81,  82,  84,  86,  88,  91,  93,  95,  98, 100, 102,
        77,  79,  80,  81,  83,  84,  86,  87,  89,  91,  93,  95,  98, 100, 102, 105,
        82,  83,  85,  86,  87,  88,  89,  90,  92,  94,  96,  98, 100, 102, 104, 107,
        87,  88,  89,  90,  91,  92,  93,  93,  94,  96,  98, 100, 102, 105, 107, 109,

        /*Size 128 x 128*/
        64,  63,  63,  62,  61,  60,  60,  59,  58,  57,  57,  56,  55,  54,  54,  53,
        63,  63,  62,  61,  61,  60,  60,  59,  58,  58,  57,  56,  56,  55,  55,  54,
        63,  62,  62,  61,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,  55,
        62,  61,  61,  61,  60,  60,  60,  59,  59,  59,  58,  58,  58,  57,  57,  57,
        61,  61,  61,  60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,  58,  58,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  61,  61,  61,  61,  61,  62,
        58,  58,  59,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,  62,  62,  63,
        57,  58,  58,  59,  59,  60,  60,  60,  61,  61,  62,  62,  63,  63,  64,  64,
        57,  57,  58,  58,  59,  59,  60,  61,  61,  62,  62,  63,  64,  64,  65,  65,
        56,  56,  57,  58,  59,  59,  60,  61,  62,  62,  63,  64,  64,  65,  66,  67,
        55,  56,  57,  58,  58,  59,  60,  61,  62,  63,  64,  64,  65,  66,  67,  68,
        54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
        54,  55,  56,  57,  58,  59,  60,  61,  62,  64,  65,  66,  67,  68,  69,  70,
        53,  54,  55,  57,  58,  59,  60,  62,  63,  64,  65,  67,  68,  69,  70,  72

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        31,  48,  52,  64,  48,  56,  60,  67,  52,  60,  73,  81,  64,  67,  81,  92,

        /*Size 8 x 8*/
        33,  27,  47,  51,  54,  59,  65,  72,  27,  38,  49,  45,  46,  50,  56,  62,
        47,  49,  56,  55,  54,  57,  61,  66,  51,  45,  55,  61,  63,  65,  68,  73,
        54,  46,  54,  63,  69,  73,  76,  80,  59,  50,  57,  65,  73,  78,  83,  86,
        65,  56,  61,  68,  76,  83,  88,  92,  72,  62,  66,  73,  80,  86,  92,  96,

        /*Size 16 x 16*/
        33,  30,  27,  37,  47,  49,  51,  52,  54,  56,  59,  62,  65,  69,  72,  72,
        30,  31,  33,  40,  48,  48,  48,  49,  50,  52,  55,  57,  60,  64,  67,  67,
        27,  33,  38,  44,  49,  47,  45,  46,  46,  48,  50,  53,  56,  59,  62,  62,
        37,  40,  44,  48,  53,  51,  50,  50,  50,  52,  53,  56,  58,  61,  64,  64,
        47,  48,  49,  53,  56,  55,  55,  54,  54,  56,  57,  59,  61,  63,  66,  66,
        49,  48,  47,  51,  55,  56,  58,  58,  59,  60,  61,  63,  65,  67,  69,  69,
        51,  48,  45,  50,  55,  58,  61,  62,  63,  64,  65,  67,  68,  70,  73,  73,
        52,  49,  46,  50,  54,  58,  62,  64,  66,  67,  69,  70,  72,  74,  76,  76,
        54,  50,  46,  50,  54,  59,  63,  66,  69,  71,  73,  74,  76,  78,  80,  80,
        56,  52,  48,  52,  56,  60,  64,  67,  71,  73,  75,  77,  79,  81,  83,  83,
        59,  55,  50,  53,  57,  61,  65,  69,  73,  75,  78,  80,  83,  84,  86,  86,
        62,  57,  53,  56,  59,  63,  67,  70,  74,  77,  80,  83,  85,  87,  89,  89,
        65,  60,  56,  58,  61,  65,  68,  72,  76,  79,  83,  85,  88,  90,  92,  92,
        69,  64,  59,  61,  63,  67,  70,  74,  78,  81,  84,  87,  90,  92,  94,  94,
        72,  67,  62,  64,  66,  69,  73,  76,  80,  83,  86,  89,  92,  94,  96,  96,
        72,  67,  62,  64,  66,  69,  73,  76,  80,  83,  86,  89,  92,  94,  96,  96,

        /*Size 32 x 32*/
        33,  32,  30,  29,  27,  32,  37,  42,  47,  48,  49,  50,  51,  52,  52,  53,
        32,  31,  31,  30,  30,  34,  39,  43,  47,  48,  48,  49,  49,  50,  51,  51,
        30,  31,  31,  32,  33,  36,  40,  44,  48,  48,  48,  48,  48,  48,  49,  49,
        29,  30,  32,  34,  35,  39,  42,  45,  48,  48,  47,  47,  46,  47,  47,  48,
        27,  30,  33,  35,  38,  41,  44,  46,  49,  48,  47,  46,  45,  45,  46,  46,
        32,  34,  36,  39,  41,  43,  46,  48,  51,  50,  49,  48,  47,  48,  48,  48,
        37,  39,  40,  42,  44,  46,  48,  50,  53,  52,  51,  50,  50,  50,  50,  50,
        42,  43,  44,  45,  46,  48,  50,  52,  54,  54,  53,  53,  52,  52,  52,  52,
        47,  47,  48,  48,  49,  51,  53,  54,  56,  56,  55,  55,  55,  54,  54,  54,
        48,  48,  48,  48,  48,  50,  52,  54,  56,  56,  56,  56,  56,  56,  56,  56,
        49,  48,  48,  47,  47,  49,  51,  53,  55,  56,  56,  57,  58,  58,  58,  58,
        50,  49,  48,  47,  46,  48,  50,  53,  55,  56,  57,  58,  59,  59,  60,  60,
        51,  49,  48,  46,  45,  47,  50,  52,  55,  56,  58,  59,  61,  61,  62,  62,
        52,  50,  48,  47,  45,  48,  50,  52,  54,  56,  58,  59,  61,  62,  63,  63,
        52,  51,  49,  47,  46,  48,  50,  52,  54,  56,  58,  60,  62,  63,  64,  65,
        53,  51,  49,  48,  46,  48,  50,  52,  54,  56,  58,  60,  62,  63,  65,  66,

        /*Size 64 x 64*/
        33,  33,  32,  31,  30,  30,  29,  28,  27,  30,  32,  35,  37,  39,  42,  44,
        33,  32,  32,  31,  31,  30,  30,  29,  29,  31,  33,  36,  38,  40,  42,  45,
        32,  32,  31,  31,  31,  31,  30,  30,  30,  32,  34,  36,  39,  41,  43,  45,
        31,  31,  31,  31,  31,  31,  31,  31,  31,  33,  35,  37,  39,  41,  44,  46,
        30,  31,  31,  31,  31,  32,  32,  32,  33,  35,  36,  38,  40,  42,  44,  46,
        30,  30,  31,  31,  32,  32,  33,  33,  34,  36,  38,  39,  41,  43,  45,  46,
        29,  30,  30,  31,  32,  33,  34,  34,  35,  37,  39,  40,  42,  44,  45,  47,
        28,  29,  30,  31,  32,  33,  34,  36,  37,  38,  40,  41,  43,  44,  46,  47,
        27,  29,  30,  31,  33,  34,  35,  37,  38,  39,  41,  42,  44,  45,  46,  48,
        30,  31,  32,  33,  35,  36,  37,  38,  39,  41,  42,  43,  45,  46,  47,  49,
        32,  33,  34,  35,  36,  38,  39,  40,  41,  42,  43,  45,  46,  47,  48,  50,
        35,  36,  36,  37,  38,  39,  40,  41,  42,  43,  45,  46,  47,  48,  49,  50,
        37,  38,  39,  39,  40,  41,  42,  43,  44,  45,  46,  47,  48,  49,  50,  51,
        39,  40,  41,  41,  42,  43,  44,  44,  45,  46,  47,  48,  49,  50,  51,  52,
        42,  42,  43,  44,  44,  45,  45,  46,  46,  47,  48,  49,  50,  51,  52,  53,
        44,  45,  45,  46,  46,  46,  47,  47,  48,  49,  50,  50,  51,  52,  53,  54,

        /*Size 128 x 128*/
        33,  33,  33,  32,  32,  31,  31,  31,  30,  30,  30,  29,  29,  28,  28,  28,
        33,  33,  32,  32,  32,  31,  31,  31,  30,  30,  30,  29,  29,  29,  29,  28,
        33,  32,  32,  32,  32,  31,  31,  31,  31,  30,  30,  30,  30,  29,  29,  29,
        32,  32,  32,  32,  31,  31,  31,  31,  31,  31,  30,  30,  30,  30,  30,  29,
        32,  32,  32,  31,  31,  31,  31,  31,  31,  31,  31,  31,  30,  30,  30,  30,
        31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,
        31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,
        31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  32,  32,  32,  32,  32,
        30,  30,  31,  31,  31,  31,  31,  31,  31,  32,  32,  32,  32,  32,  32,  32,
        30,  30,  30,  31,  31,  31,  31,  31,  32,  32,  32,  32,  32,  33,  33,  33,
        30,  30,  30,  30,  31,  31,  31,  31,  32,  32,  32,  33,  33,  33,  33,  34,
        29,  29,  30,  30,  31,  31,  31,  32,  32,  32,  33,  33,  33,  34,  34,  34,
        29,  29,  30,  30,  30,  31,  31,  32,  32,  32,  33,  33,  34,  34,  34,  35,
        28,  29,  29,  30,  30,  31,  31,  32,  32,  33,  33,  34,  34,  35,  35,  36,
        28,  29,  29,  30,  30,  31,  31,  32,  32,  33,  33,  34,  34,  35,  36,  36,
        28,  28,  29,  29,  30,  31,  31,  32,  32,  33,  34,  34,  35,  36,  36,  37

      }
    }
  },
  {
    /* QM level 5*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        56,  60,  86, 111,  60,  81,  99, 117,  86,  99, 119, 131, 111, 117, 131, 140,

        /*Size 8 x 8*/
        64,  52,  55,  67,  83,  98, 111, 121,  52,  57,  55,  63,  75,  88, 101, 113,
        55,  55,  71,  79,  88,  98, 108, 118,  67,  63,  79,  93, 102, 110, 117, 124,
        83,  75,  88, 102, 112, 119, 125, 130,  98,  88,  98, 110, 119, 126, 132, 136,
        111, 101, 108, 117, 125, 132, 136, 140, 121, 113, 118, 124, 130, 136, 140, 143,

        /*Size 16 x 16*/
        64,  58,  52,  53,  55,  61,  67,  75,  83,  90,  98, 104, 111, 116, 121, 121,
        58,  56,  54,  55,  55,  60,  65,  72,  79,  86,  93,  99, 106, 111, 117, 117,
        52,  54,  57,  56,  55,  59,  63,  69,  75,  81,  88,  95, 101, 107, 113, 113,
        53,  55,  56,  60,  63,  67,  71,  76,  81,  87,  93,  99, 105, 110, 115, 115,
        55,  55,  55,  63,  71,  75,  79,  84,  88,  93,  98, 103, 108, 113, 118, 118,
        61,  60,  59,  67,  75,  81,  86,  90,  95,  99, 104, 108, 113, 117, 121, 121,
        67,  65,  63,  71,  79,  86,  93,  97, 102, 106, 110, 113, 117, 121, 124, 124,
        75,  72,  69,  76,  84,  90,  97, 102, 107, 111, 114, 118, 121, 124, 127, 127,
        83,  79,  75,  81,  88,  95, 102, 107, 112, 115, 119, 122, 125, 128, 130, 130,
        90,  86,  81,  87,  93,  99, 106, 111, 115, 119, 123, 125, 128, 131, 133, 133,
        98,  93,  88,  93,  98, 104, 110, 114, 119, 123, 126, 129, 132, 134, 136, 136,
        104,  99,  95,  99, 103, 108, 113, 118, 122, 125, 129, 131, 134, 136, 138, 138,
        111, 106, 101, 105, 108, 113, 117, 121, 125, 128, 132, 134, 136, 138, 140, 140,
        116, 111, 107, 110, 113, 117, 121, 124, 128, 131, 134, 136, 138, 140, 141, 141,
        121, 117, 113, 115, 118, 121, 124, 127, 130, 133, 136, 138, 140, 141, 143, 143,
        121, 117, 113, 115, 118, 121, 124, 127, 130, 133, 136, 138, 140, 141, 143, 143,

        /*Size 32 x 32*/
        64,  61,  58,  55,  52,  52,  53,  54,  55,  58,  61,  64,  67,  71,  75,  79,
        61,  59,  57,  55,  53,  53,  54,  54,  55,  58,  60,  63,  66,  70,  73,  77,
        58,  57,  56,  55,  54,  55,  55,  55,  55,  57,  60,  62,  65,  68,  72,  75,
        55,  55,  55,  56,  56,  56,  55,  55,  55,  57,  59,  62,  64,  67,  70,  73,
        52,  53,  54,  56,  57,  57,  56,  56,  55,  57,  59,  61,  63,  66,  69,  72,
        52,  53,  55,  56,  57,  57,  58,  59,  59,  61,  63,  65,  67,  69,  72,  75,
        53,  54,  55,  55,  56,  58,  60,  62,  63,  65,  67,  69,  71,  73,  76,  79,
        54,  54,  55,  55,  56,  59,  62,  64,  67,  69,  71,  73,  75,  77,  80,  82,
        55,  55,  55,  55,  55,  59,  63,  67,  71,  73,  75,  77,  79,  81,  84,  86,
        58,  58,  57,  57,  57,  61,  65,  69,  73,  76,  78,  80,  83,  85,  87,  89,
        61,  60,  60,  59,  59,  63,  67,  71,  75,  78,  81,  83,  86,  88,  90,  93,
        64,  63,  62,  62,  61,  65,  69,  73,  77,  80,  83,  86,  89,  92,  94,  96,
        67,  66,  65,  64,  63,  67,  71,  75,  79,  83,  86,  89,  93,  95,  97, 100,
        71,  70,  68,  67,  66,  69,  73,  77,  81,  85,  88,  92,  95,  97, 100, 102,
        75,  73,  72,  70,  69,  72,  76,  80,  84,  87,  90,  94,  97, 100, 102, 104,
        79,  77,  75,  73,  72,  75,  79,  82,  86,  89,  93,  96, 100, 102, 104, 107,

        /*Size 64 x 64*/
        64,  62,  61,  59,  58,  56,  55,  53,  52,  52,  52,  53,  53,  54,  54,  54,
        62,  61,  60,  59,  57,  56,  55,  53,  52,  53,  53,  53,  54,  54,  54,  54,
        61,  60,  59,  58,  57,  56,  55,  54,  53,  53,  53,  54,  54,  54,  54,  55,
        59,  59,  58,  57,  56,  56,  55,  54,  54,  54,  54,  54,  54,  54,  55,  55,
        58,  57,  57,  56,  56,  56,  55,  55,  54,  54,  55,  55,  55,  55,  55,  55,
        56,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,
        55,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,
        53,  53,  54,  54,  55,  55,  56,  56,  57,  56,  56,  56,  56,  56,  56,  55,
        52,  52,  53,  54,  54,  55,  56,  57,  57,  57,  57,  57,  56,  56,  56,  56,
        52,  53,  53,  54,  54,  55,  56,  56,  57,  57,  57,  57,  57,  57,  57,  57,
        52,  53,  53,  54,  55,  55,  56,  56,  57,  57,  57,  58,  58,  58,  59,  59,
        53,  53,  54,  54,  55,  55,  56,  56,  57,  57,  58,  58,  59,  59,  60,  61,
        53,  54,  54,  54,  55,  55,  55,  56,  56,  57,  58,  59,  60,  61,  62,  62,
        54,  54,  54,  54,  55,  55,  55,  56,  56,  57,  58,  59,  61,  62,  63,  64,
        54,  54,  54,  55,  55,  55,  55,  56,  56,  57,  59,  60,  62,  63,  64,  66,
        54,  54,  55,  55,  55,  55,  55,  55,  56,  57,  59,  61,  62,  64,  66,  68,

        /*Size 128 x 128*/
        64,  63,  62,  62,  61,  60,  59,  59,  58,  57,  56,  55,  55,  54,  53,  52,
        63,  63,  62,  61,  60,  60,  59,  58,  58,  57,  56,  55,  55,  54,  53,  53,
        62,  62,  61,  61,  60,  59,  59,  58,  57,  57,  56,  55,  55,  54,  53,  53,
        62,  61,  61,  60,  59,  59,  58,  58,  57,  57,  56,  55,  55,  54,  54,  53,
        61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,  55,  55,  54,  54,  53,
        60,  60,  59,  59,  58,  58,  58,  57,  57,  56,  56,  55,  55,  55,  54,  54,
        59,  59,  59,  58,  58,  58,  57,  57,  56,  56,  56,  55,  55,  55,  54,  54,
        59,  58,  58,  58,  57,  57,  57,  57,  56,  56,  56,  55,  55,  55,  55,  54,
        58,  58,  57,  57,  57,  57,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,
        57,  57,  57,  57,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,
        54,  54,  54,  54,  54,  55,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,
        53,  53,  53,  54,  54,  54,  54,  55,  55,  55,  55,  55,  56,  56,  56,  56,
        52,  53,  53,  53,  53,  54,  54,  54,  55,  55,  55,  55,  56,  56,  56,  57

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        28,  30,  48,  68,  30,  44,  58,  73,  48,  58,  75,  86,  68,  73,  86,  96,

        /*Size 8 x 8*/
        33,  25,  27,  35,  45,  56,  67,  77,  25,  29,  28,  32,  40,  49,  59,  69,
        27,  28,  37,  43,  49,  57,  65,  73,  35,  32,  43,  53,  60,  66,  73,  79,
        45,  40,  49,  60,  68,  75,  81,  86,  56,  49,  57,  66,  75,  82,  87,  91,
        67,  59,  65,  73,  81,  87,  92,  96,  77,  69,  73,  79,  86,  91,  96,  99,

        /*Size 16 x 16*/
        33,  29,  25,  26,  27,  31,  35,  40,  45,  51,  56,  62,  67,  72,  77,  77,
        29,  28,  27,  27,  27,  30,  33,  38,  43,  48,  53,  58,  63,  68,  73,  73,
        25,  27,  29,  28,  28,  30,  32,  36,  40,  45,  49,  54,  59,  64,  69,  69,
        26,  27,  28,  30,  32,  35,  37,  41,  44,  49,  53,  58,  62,  67,  71,  71,
        27,  27,  28,  32,  37,  40,  43,  46,  49,  53,  57,  61,  65,  69,  73,  73,
        31,  30,  30,  35,  40,  44,  48,  51,  54,  58,  61,  65,  69,  73,  76,  76,
        35,  33,  32,  37,  43,  48,  53,  56,  60,  63,  66,  69,  73,  76,  79,  79,
        40,  38,  36,  41,  46,  51,  56,  60,  64,  67,  70,  74,  77,  80,  83,  83,
        45,  43,  40,  44,  49,  54,  60,  64,  68,  72,  75,  78,  81,  83,  86,  86,
        51,  48,  45,  49,  53,  58,  63,  67,  72,  75,  78,  81,  84,  86,  89,  89,
        56,  53,  49,  53,  57,  61,  66,  70,  75,  78,  82,  84,  87,  89,  91,  91,
        62,  58,  54,  58,  61,  65,  69,  74,  78,  81,  84,  87,  90,  92,  94,  94,
        67,  63,  59,  62,  65,  69,  73,  77,  81,  84,  87,  90,  92,  94,  96,  96,
        72,  68,  64,  67,  69,  73,  76,  80,  83,  86,  89,  92,  94,  96,  98,  98,
        77,  73,  69,  71,  73,  76,  79,  83,  86,  89,  91,  94,  96,  98,  99,  99,
        77,  73,  69,  71,  73,  76,  79,  83,  86,  89,  91,  94,  96,  98,  99,  99,

        /*Size 32 x 32*/
        33,  31,  29,  27,  25,  26,  26,  27,  27,  29,  31,  33,  35,  38,  40,  43,
        31,  30,  29,  27,  26,  26,  27,  27,  27,  29,  31,  32,  34,  37,  39,  41,
        29,  29,  28,  28,  27,  27,  27,  27,  27,  29,  30,  32,  33,  36,  38,  40,
        27,  27,  28,  28,  28,  28,  28,  28,  27,  29,  30,  31,  33,  35,  37,  39,
        25,  26,  27,  28,  29,  28,  28,  28,  28,  29,  30,  31,  32,  34,  36,  38,
        26,  26,  27,  28,  28,  29,  29,  30,  30,  31,  32,  33,  35,  36,  38,  40,
        26,  27,  27,  28,  28,  29,  30,  31,  32,  34,  35,  36,  37,  39,  41,  43,
        27,  27,  27,  28,  28,  30,  31,  33,  35,  36,  37,  39,  40,  42,  43,  45,
        27,  27,  27,  27,  28,  30,  32,  35,  37,  39,  40,  41,  43,  44,  46,  47,
        29,  29,  29,  29,  29,  31,  34,  36,  39,  40,  42,  44,  45,  47,  48,  50,
        31,  31,  30,  30,  30,  32,  35,  37,  40,  42,  44,  46,  48,  49,  51,  53,
        33,  32,  32,  31,  31,  33,  36,  39,  41,  44,  46,  48,  50,  52,  53,  55,
        35,  34,  33,  33,  32,  35,  37,  40,  43,  45,  48,  50,  53,  54,  56,  58,
        38,  37,  36,  35,  34,  36,  39,  42,  44,  47,  49,  52,  54,  56,  58,  60,
        40,  39,  38,  37,  36,  38,  41,  43,  46,  48,  51,  53,  56,  58,  60,  62,
        43,  41,  40,  39,  38,  40,  43,  45,  47,  50,  53,  55,  58,  60,  62,  64,

        /*Size 64 x 64*/
        33,  32,  31,  30,  29,  28,  27,  26,  25,  26,  26,  26,  26,  27,  27,  27,
        32,  31,  30,  30,  29,  28,  27,  26,  26,  26,  26,  26,  26,  27,  27,  27,
        31,  30,  30,  29,  29,  28,  27,  27,  26,  26,  26,  27,  27,  27,  27,  27,
        30,  30,  29,  29,  28,  28,  27,  27,  27,  27,  27,  27,  27,  27,  27,  27,
        29,  29,  29,  28,  28,  28,  28,  27,  27,  27,  27,  27,  27,  27,  27,  27,
        28,  28,  28,  28,  28,  28,  28,  28,  27,  27,  27,  27,  27,  27,  27,  27,
        27,  27,  27,  27,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  27,
        26,  26,  27,  27,  27,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,
        25,  26,  26,  27,  27,  27,  28,  28,  29,  29,  28,  28,  28,  28,  28,  28,
        26,  26,  26,  27,  27,  27,  28,  28,  29,  29,  29,  29,  29,  29,  29,  29,
        26,  26,  26,  27,  27,  27,  28,  28,  28,  29,  29,  29,  29,  29,  30,  30,
        26,  26,  27,  27,  27,  27,  28,  28,  28,  29,  29,  29,  30,  30,  30,  31,
        26,  26,  27,  27,  27,  27,  28,  28,  28,  29,  29,  30,  30,  31,  31,  32,
        27,  27,  27,  27,  27,  27,  28,  28,  28,  29,  29,  30,  31,  31,  32,  33,
        27,  27,  27,  27,  27,  27,  28,  28,  28,  29,  30,  30,  31,  32,  33,  34,
        27,  27,  27,  27,  27,  27,  27,  28,  28,  29,  30,  31,  32,  33,  34,  35,

        /*Size 128 x 128*/
        33,  32,  32,  31,  31,  30,  30,  29,  29,  29,  28,  28,  27,  27,  26,  26,
        32,  32,  31,  31,  31,  30,  30,  29,  29,  28,  28,  28,  27,  27,  26,  26,
        32,  31,  31,  31,  30,  30,  30,  29,  29,  28,  28,  28,  27,  27,  26,  26,
        31,  31,  31,  30,  30,  30,  29,  29,  29,  28,  28,  28,  27,  27,  27,  26,
        31,  31,  30,  30,  30,  29,  29,  29,  29,  28,  28,  28,  27,  27,  27,  26,
        30,  30,  30,  30,  29,  29,  29,  29,  28,  28,  28,  28,  27,  27,  27,  27,
        30,  30,  30,  29,  29,  29,  29,  28,  28,  28,  28,  28,  27,  27,  27,  27,
        29,  29,  29,  29,  29,  29,  28,  28,  28,  28,  28,  28,  27,  27,  27,  27,
        29,  29,  29,  29,  29,  28,  28,  28,  28,  28,  28,  28,  28,  27,  27,  27,
        29,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  27,  27,  27,
        28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  27,
        28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,  28,
        27,  27,  27,  27,  27,  27,  27,  27,  28,  28,  28,  28,  28,  28,  28,  28,
        27,  27,  27,  27,  27,  27,  27,  27,  27,  27,  28,  28,  28,  28,  28,  28,
        26,  26,  26,  27,  27,  27,  27,  27,  27,  27,  28,  28,  28,  28,  28,  28,
        26,  26,  26,  26,  26,  27,  27,  27,  27,  27,  27,  28,  28,  28,  28,  28

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        61,  86,  91, 109,  86,  98, 103, 115,  91, 103, 124, 136, 109, 115, 136, 152,

        /*Size 8 x 8*/
        64,  53,  88,  89,  94, 102, 112, 123,  53,  73,  86,  80,  82,  88,  97, 107,
        88,  86,  98,  95,  95,  99, 105, 113,  89,  80,  95, 105, 108, 112, 117, 123,
        94,  82,  95, 108, 118, 124, 129, 134, 102,  88,  99, 112, 124, 132, 138, 144,
        112,  97, 105, 117, 129, 138, 146, 152, 123, 107, 113, 123, 134, 144, 152, 159,

        /*Size 16 x 16*/
        64,  59,  53,  70,  88,  88,  89,  91,  94,  98, 102, 107, 112, 117, 123, 123,
        59,  61,  63,  75,  87,  86,  84,  86,  88,  91,  95, 100, 104, 109, 115, 115,
        53,  63,  73,  80,  86,  83,  80,  81,  82,  85,  88,  92,  97, 102, 107, 107,
        70,  75,  80,  86,  92,  90,  87,  88,  88,  91,  93,  97, 101, 105, 110, 110,
        88,  87,  86,  92,  98,  96,  95,  95,  95,  97,  99, 102, 105, 109, 113, 113,
        88,  86,  83,  90,  96,  98, 100, 101, 102, 103, 105, 108, 111, 115, 118, 118,
        89,  84,  80,  87,  95, 100, 105, 106, 108, 110, 112, 114, 117, 120, 123, 123,
        91,  86,  81,  88,  95, 101, 106, 110, 113, 115, 118, 120, 123, 126, 129, 129,
        94,  88,  82,  88,  95, 102, 108, 113, 118, 121, 124, 126, 129, 131, 134, 134,
        98,  91,  85,  91,  97, 103, 110, 115, 121, 124, 128, 131, 133, 136, 139, 139,
        102,  95,  88,  93,  99, 105, 112, 118, 124, 128, 132, 135, 138, 141, 144, 144,
        107, 100,  92,  97, 102, 108, 114, 120, 126, 131, 135, 139, 142, 145, 148, 148,
        112, 104,  97, 101, 105, 111, 117, 123, 129, 133, 138, 142, 146, 149, 152, 152,
        117, 109, 102, 105, 109, 115, 120, 126, 131, 136, 141, 145, 149, 152, 155, 155,
        123, 115, 107, 110, 113, 118, 123, 129, 134, 139, 144, 148, 152, 155, 159, 159,
        123, 115, 107, 110, 113, 118, 123, 129, 134, 139, 144, 148, 152, 155, 159, 159,

        /*Size 32 x 32*/
        64,  61,  59,  56,  53,  62,  70,  79,  88,  88,  88,  89,  89,  90,  91,  93,
        61,  61,  60,  59,  58,  65,  73,  80,  87,  87,  87,  87,  87,  88,  89,  90,
        59,  60,  61,  62,  63,  69,  75,  81,  87,  86,  86,  85,  84,  85,  86,  87,
        56,  59,  62,  65,  68,  73,  77,  82,  87,  85,  84,  83,  82,  83,  83,  84,
        53,  58,  63,  68,  73,  76,  80,  83,  86,  85,  83,  81,  80,  80,  81,  81,
        62,  65,  69,  73,  76,  79,  83,  86,  89,  88,  86,  85,  83,  84,  84,  84,
        70,  73,  75,  77,  80,  83,  86,  89,  92,  91,  90,  88,  87,  87,  88,  88,
        79,  80,  81,  82,  83,  86,  89,  92,  95,  94,  93,  92,  91,  91,  91,  91,
        88,  87,  87,  87,  86,  89,  92,  95,  98,  97,  96,  96,  95,  95,  95,  95,
        88,  87,  86,  85,  85,  88,  91,  94,  97,  97,  97,  97,  97,  98,  98,  98,
        88,  87,  86,  84,  83,  86,  90,  93,  96,  97,  98,  99, 100, 100, 101, 101,
        89,  87,  85,  83,  81,  85,  88,  92,  96,  97,  99, 101, 102, 103, 104, 104,
        89,  87,  84,  82,  80,  83,  87,  91,  95,  97, 100, 102, 105, 105, 106, 107,
        90,  88,  85,  83,  80,  84,  87,  91,  95,  98, 100, 103, 105, 107, 108, 109,
        91,  89,  86,  83,  81,  84,  88,  91,  95,  98, 101, 104, 106, 108, 110, 111,
        93,  90,  87,  84,  81,  84,  88,  91,  95,  98, 101, 104, 107, 109, 111, 113,

        /*Size 64 x 64*/
        64,  63,  61,  60,  59,  57,  56,  55,  53,  58,  62,  66,  70,  75,  79,  83,
        63,  62,  61,  60,  59,  58,  57,  57,  56,  60,  64,  68,  72,  75,  79,  83,
        61,  61,  61,  60,  60,  59,  59,  59,  58,  62,  65,  69,  73,  76,  80,  84,
        60,  60,  60,  60,  60,  60,  60,  60,  61,  64,  67,  70,  74,  77,  80,  84,
        59,  59,  60,  60,  61,  61,  62,  62,  63,  66,  69,  72,  75,  78,  81,  84,
        57,  58,  59,  60,  61,  62,  63,  64,  65,  68,  71,  73,  76,  79,  81,  84,
        56,  57,  59,  60,  62,  63,  65,  66,  68,  70,  73,  75,  77,  80,  82,  84,
        55,  57,  59,  60,  62,  64,  66,  68,  70,  72,  74,  76,  78,  80,  82,  84,
        53,  56,  58,  61,  63,  65,  68,  70,  73,  74,  76,  78,  80,  81,  83,  85,
        58,  60,  62,  64,  66,  68,  70,  72,  74,  76,  78,  79,  81,  83,  84,  86,
        62,  64,  65,  67,  69,  71,  73,  74,  76,  78,  79,  81,  83,  84,  86,  87,
        66,  68,  69,  70,  72,  73,  75,  76,  78,  79,  81,  83,  84,  86,  87,  89,
        70,  72,  73,  74,  75,  76,  77,  78,  80,  81,  83,  84,  86,  87,  89,  90,
        75,  75,  76,  77,  78,  79,  80,  80,  81,  83,  84,  86,  87,  89,  90,  92,
        79,  79,  80,  80,  81,  81,  82,  82,  83,  84,  86,  87,  89,  90,  92,  93,
        83,  83,  84,  84,  84,  84,  84,  84,  85,  86,  87,  89,  90,  92,  93,  95,

        /*Size 128 x 128*/
        64,  63,  63,  62,  61,  61,  60,  59,  59,  58,  57,  57,  56,  55,  55,  54,
        63,  63,  62,  62,  61,  61,  60,  59,  59,  58,  58,  57,  57,  56,  56,  55,
        63,  62,  62,  61,  61,  60,  60,  60,  59,  59,  58,  58,  57,  57,  57,  56,
        62,  62,  61,  61,  61,  60,  60,  60,  59,  59,  59,  58,  58,  58,  58,  57,
        61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,  58,
        61,  61,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  59,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  61,
        59,  59,  60,  60,  60,  60,  60,  60,  61,  61,  61,  61,  61,  61,  61,  62,
        59,  59,  59,  59,  60,  60,  60,  61,  61,  61,  61,  62,  62,  62,  62,  63,
        58,  58,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,  63,  63,  63,  64,
        57,  58,  58,  59,  59,  60,  60,  61,  61,  62,  62,  63,  63,  64,  64,  65,
        57,  57,  58,  58,  59,  60,  60,  61,  62,  62,  63,  64,  64,  65,  65,  66,
        56,  57,  57,  58,  59,  60,  60,  61,  62,  63,  63,  64,  65,  66,  66,  67,
        55,  56,  57,  58,  59,  60,  60,  61,  62,  63,  64,  65,  66,  67,  67,  68,
        55,  56,  57,  58,  59,  60,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
        54,  55,  56,  57,  58,  59,  61,  62,  63,  64,  65,  66,  67,  68,  69,  70

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        38,  52,  55,  64,  52,  58,  61,  67,  55,  61,  72,  78,  64,  67,  78,  86,

        /*Size 8 x 8*/
        40,  33,  53,  54,  56,  61,  66,  71,  33,  45,  52,  48,  49,  53,  58,  63,
        53,  52,  58,  57,  57,  59,  62,  66,  54,  48,  57,  62,  64,  66,  68,  71,
        56,  49,  57,  64,  69,  72,  74,  77,  61,  53,  59,  66,  72,  76,  79,  82,
        66,  58,  62,  68,  74,  79,  83,  86,  71,  63,  66,  71,  77,  82,  86,  89,

        /*Size 16 x 16*/
        40,  36,  33,  43,  53,  53,  54,  55,  56,  58,  61,  63,  66,  68,  71,  71,
        36,  38,  39,  46,  52,  52,  51,  52,  53,  55,  57,  59,  62,  64,  67,  67,
        33,  39,  45,  48,  52,  50,  48,  49,  49,  51,  53,  55,  58,  60,  63,  63,
        43,  46,  48,  52,  55,  54,  53,  53,  53,  54,  56,  58,  60,  62,  65,  65,
        53,  52,  52,  55,  58,  57,  57,  57,  57,  58,  59,  60,  62,  64,  66,  66,
        53,  52,  50,  54,  57,  58,  59,  60,  60,  61,  62,  64,  65,  67,  69,  69,
        54,  51,  48,  53,  57,  59,  62,  63,  64,  65,  66,  67,  68,  70,  71,  71,
        55,  52,  49,  53,  57,  60,  63,  64,  66,  67,  69,  70,  71,  73,  74,  74,
        56,  53,  49,  53,  57,  60,  64,  66,  69,  70,  72,  73,  74,  75,  77,  77,
        58,  55,  51,  54,  58,  61,  65,  67,  70,  72,  74,  75,  77,  78,  79,  79,
        61,  57,  53,  56,  59,  62,  66,  69,  72,  74,  76,  77,  79,  80,  82,  82,
        63,  59,  55,  58,  60,  64,  67,  70,  73,  75,  77,  79,  81,  82,  84,  84,
        66,  62,  58,  60,  62,  65,  68,  71,  74,  77,  79,  81,  83,  84,  86,  86,
        68,  64,  60,  62,  64,  67,  70,  73,  75,  78,  80,  82,  84,  86,  87,  87,
        71,  67,  63,  65,  66,  69,  71,  74,  77,  79,  82,  84,  86,  87,  89,  89,
        71,  67,  63,  65,  66,  69,  71,  74,  77,  79,  82,  84,  86,  87,  89,  89,

        /*Size 32 x 32*/
        40,  38,  36,  35,  33,  38,  43,  48,  53,  53,  53,  53,  54,  54,  55,  55,
        38,  37,  37,  37,  36,  40,  44,  48,  52,  52,  52,  52,  52,  53,  53,  54,
        36,  37,  38,  38,  39,  42,  46,  49,  52,  52,  52,  51,  51,  51,  52,  52,
        35,  37,  38,  40,  42,  44,  47,  49,  52,  51,  51,  50,  50,  50,  50,  51,
        33,  36,  39,  42,  45,  46,  48,  50,  52,  51,  50,  49,  48,  49,  49,  49,
        38,  40,  42,  44,  46,  48,  50,  52,  53,  53,  52,  51,  50,  51,  51,  51,
        43,  44,  46,  47,  48,  50,  52,  53,  55,  54,  54,  53,  53,  53,  53,  53,
        48,  48,  49,  49,  50,  52,  53,  55,  56,  56,  56,  55,  55,  55,  55,  55,
        53,  52,  52,  52,  52,  53,  55,  56,  58,  58,  57,  57,  57,  57,  57,  57,
        53,  52,  52,  51,  51,  53,  54,  56,  58,  58,  58,  58,  58,  58,  58,  58,
        53,  52,  52,  51,  50,  52,  54,  56,  57,  58,  58,  59,  59,  59,  60,  60,
        53,  52,  51,  50,  49,  51,  53,  55,  57,  58,  59,  60,  61,  61,  61,  62,
        54,  52,  51,  50,  48,  50,  53,  55,  57,  58,  59,  61,  62,  62,  63,  63,
        54,  53,  51,  50,  49,  51,  53,  55,  57,  58,  59,  61,  62,  63,  64,  64,
        55,  53,  52,  50,  49,  51,  53,  55,  57,  58,  60,  61,  63,  64,  64,  65,
        55,  54,  52,  51,  49,  51,  53,  55,  57,  58,  60,  62,  63,  64,  65,  66,

        /*Size 64 x 64*/
        40,  39,  38,  37,  36,  36,  35,  34,  33,  36,  38,  40,  43,  45,  48,  50,
        39,  38,  38,  37,  37,  36,  36,  35,  35,  37,  39,  41,  44,  46,  48,  50,
        38,  38,  37,  37,  37,  37,  37,  36,  36,  38,  40,  42,  44,  46,  48,  50,
        37,  37,  37,  37,  37,  37,  37,  37,  37,  39,  41,  43,  45,  47,  49,  50,
        36,  37,  37,  37,  38,  38,  38,  39,  39,  41,  42,  44,  46,  47,  49,  50,
        36,  36,  37,  37,  38,  39,  39,  40,  40,  42,  43,  45,  46,  48,  49,  51,
        35,  36,  37,  37,  38,  39,  40,  41,  42,  43,  44,  46,  47,  48,  49,  51,
        34,  35,  36,  37,  39,  40,  41,  42,  43,  44,  45,  46,  47,  49,  50,  51,
        33,  35,  36,  37,  39,  40,  42,  43,  45,  45,  46,  47,  48,  49,  50,  51,
        36,  37,  38,  39,  41,  42,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,
        38,  39,  40,  41,  42,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,  52,
        40,  41,  42,  43,  44,  45,  46,  46,  47,  48,  49,  50,  51,  52,  52,  53,
        43,  44,  44,  45,  46,  46,  47,  47,  48,  49,  50,  51,  52,  52,  53,  54,
        45,  46,  46,  47,  47,  48,  48,  49,  49,  50,  51,  52,  52,  53,  54,  55,
        48,  48,  48,  49,  49,  49,  49,  50,  50,  51,  52,  52,  53,  54,  55,  56,
        50,  50,  50,  50,  50,  51,  51,  51,  51,  52,  52,  53,  54,  55,  56,  56,

        /*Size 128 x 128*/
        40,  39,  39,  38,  38,  38,  37,  37,  36,  36,  36,  35,  35,  34,  34,  34,
        39,  39,  38,  38,  38,  37,  37,  37,  37,  36,  36,  36,  35,  35,  35,  34,
        39,  38,  38,  38,  38,  37,  37,  37,  37,  36,  36,  36,  36,  35,  35,  35,
        38,  38,  38,  38,  38,  37,  37,  37,  37,  37,  36,  36,  36,  36,  36,  36,
        38,  38,  38,  38,  37,  37,  37,  37,  37,  37,  37,  37,  37,  36,  36,  36,
        38,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,
        37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,
        37,  37,  37,  37,  37,  37,  37,  37,  37,  38,  38,  38,  38,  38,  38,  38,
        36,  37,  37,  37,  37,  37,  37,  37,  38,  38,  38,  38,  38,  38,  39,  39,
        36,  36,  36,  37,  37,  37,  37,  38,  38,  38,  38,  38,  39,  39,  39,  39,
        36,  36,  36,  36,  37,  37,  37,  38,  38,  38,  39,  39,  39,  39,  40,  40,
        35,  36,  36,  36,  37,  37,  37,  38,  38,  38,  39,  39,  40,  40,  40,  41,
        35,  35,  36,  36,  37,  37,  37,  38,  38,  39,  39,  40,  40,  40,  41,  41,
        34,  35,  35,  36,  36,  37,  37,  38,  38,  39,  39,  40,  40,  41,  41,  42,
        34,  35,  35,  36,  36,  37,  37,  38,  39,  39,  40,  40,  41,  41,  42,  43,
        34,  34,  35,  36,  36,  37,  37,  38,  39,  39,  40,  41,  41,  42,  43,  43

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        61,  90,  98, 117,  90, 105, 110, 122,  98, 110, 132, 144, 117, 122, 144, 161,

        /*Size 8 x 8*/
        64,  53,  88,  95, 100, 109, 120, 130,  53,  73,  92,  85,  87,  94, 103, 114,
        88,  92, 104, 102, 101, 105, 112, 121,  95,  85, 102, 111, 116, 119, 124, 131,
        100,  87, 101, 116, 125, 131, 137, 142, 109,  94, 105, 119, 131, 140, 147, 152,
        120, 103, 112, 124, 137, 147, 155, 161, 130, 114, 121, 131, 142, 152, 161, 168,

        /*Size 16 x 16*/
        64,  59,  53,  71,  88,  92,  95,  98, 100, 105, 109, 114, 120, 125, 130, 130,
        59,  61,  63,  77,  90,  90,  90,  92,  94,  98, 102, 106, 111, 117, 122, 122,
        53,  63,  73,  83,  92,  89,  85,  86,  87,  91,  94,  99, 103, 108, 114, 114,
        71,  77,  83,  90,  98,  96,  93,  94,  94,  97, 100, 104, 108, 112, 117, 117,
        88,  90,  92,  98, 104, 103, 102, 101, 101, 103, 105, 109, 112, 116, 121, 121,
        92,  90,  89,  96, 103, 105, 106, 107, 108, 110, 112, 115, 118, 122, 126, 126,
        95,  90,  85,  93, 102, 106, 111, 113, 116, 117, 119, 122, 124, 128, 131, 131,
        98,  92,  86,  94, 101, 107, 113, 117, 120, 123, 125, 128, 130, 133, 137, 137,
        100,  94,  87,  94, 101, 108, 116, 120, 125, 128, 131, 134, 137, 139, 142, 142,
        105,  98,  91,  97, 103, 110, 117, 123, 128, 132, 136, 139, 142, 144, 147, 147,
        109, 102,  94, 100, 105, 112, 119, 125, 131, 136, 140, 143, 147, 150, 152, 152,
        114, 106,  99, 104, 109, 115, 122, 128, 134, 139, 143, 147, 151, 154, 157, 157,
        120, 111, 103, 108, 112, 118, 124, 130, 137, 142, 147, 151, 155, 158, 161, 161,
        125, 117, 108, 112, 116, 122, 128, 133, 139, 144, 150, 154, 158, 161, 164, 164,
        130, 122, 114, 117, 121, 126, 131, 137, 142, 147, 152, 157, 161, 164, 168, 168,
        130, 122, 114, 117, 121, 126, 131, 137, 142, 147, 152, 157, 161, 164, 168, 168,

        /*Size 32 x 32*/
        64,  61,  59,  56,  53,  62,  71,  79,  88,  90,  92,  93,  95,  96,  98,  99,
        61,  60,  60,  59,  58,  66,  74,  81,  89,  90,  91,  92,  93,  94,  95,  96,
        59,  60,  61,  62,  63,  70,  77,  83,  90,  90,  90,  90,  90,  91,  92,  93,
        56,  59,  62,  65,  68,  74,  80,  85,  91,  90,  89,  88,  88,  88,  89,  90,
        53,  58,  63,  68,  73,  78,  83,  87,  92,  90,  89,  87,  85,  86,  86,  87,
        62,  66,  70,  74,  78,  82,  87,  91,  95,  94,  92,  91,  89,  90,  90,  90,
        71,  74,  77,  80,  83,  87,  90,  94,  98,  97,  96,  94,  93,  94,  94,  94,
        79,  81,  83,  85,  87,  91,  94,  98, 101, 100,  99,  98,  97,  97,  98,  98,
        88,  89,  90,  91,  92,  95,  98, 101, 104, 103, 103, 102, 102, 101, 101, 101,
        90,  90,  90,  90,  90,  94,  97, 100, 103, 104, 104, 104, 104, 104, 104, 105,
        92,  91,  90,  89,  89,  92,  96,  99, 103, 104, 105, 105, 106, 107, 107, 108,
        93,  92,  90,  88,  87,  91,  94,  98, 102, 104, 105, 107, 109, 110, 110, 111,
        95,  93,  90,  88,  85,  89,  93,  97, 102, 104, 106, 109, 111, 112, 113, 114,
        96,  94,  91,  88,  86,  90,  94,  97, 101, 104, 107, 110, 112, 114, 115, 116,
        98,  95,  92,  89,  86,  90,  94,  98, 101, 104, 107, 110, 113, 115, 117, 119,
        99,  96,  93,  90,  87,  90,  94,  98, 101, 105, 108, 111, 114, 116, 119, 121,

        /*Size 64 x 64*/
        64,  63,  61,  60,  59,  57,  56,  54,  53,  57,  62,  66,  71,  75,  79,  84,
        63,  62,  61,  60,  59,  58,  57,  56,  56,  60,  64,  68,  72,  76,  80,  84,
        61,  61,  60,  60,  60,  59,  59,  58,  58,  62,  66,  70,  74,  77,  81,  85,
        60,  60,  60,  60,  60,  60,  60,  60,  61,  64,  68,  71,  75,  79,  82,  86,
        59,  59,  60,  60,  61,  61,  62,  62,  63,  66,  70,  73,  77,  80,  83,  87,
        57,  58,  59,  60,  61,  62,  63,  64,  66,  69,  72,  75,  78,  81,  84,  88,
        56,  57,  59,  60,  62,  63,  65,  66,  68,  71,  74,  77,  80,  82,  85,  88,
        54,  56,  58,  60,  62,  64,  66,  68,  71,  73,  76,  78,  81,  84,  86,  89,
        53,  56,  58,  61,  63,  66,  68,  71,  73,  75,  78,  80,  83,  85,  87,  90,
        57,  60,  62,  64,  66,  69,  71,  73,  75,  78,  80,  82,  85,  87,  89,  91,
        62,  64,  66,  68,  70,  72,  74,  76,  78,  80,  82,  84,  87,  89,  91,  93,
        66,  68,  70,  71,  73,  75,  77,  78,  80,  82,  84,  86,  88,  90,  93,  95,
        71,  72,  74,  75,  77,  78,  80,  81,  83,  85,  87,  88,  90,  92,  94,  96,
        75,  76,  77,  79,  80,  81,  82,  84,  85,  87,  89,  90,  92,  94,  96,  98,
        79,  80,  81,  82,  83,  84,  85,  86,  87,  89,  91,  93,  94,  96,  98,  99,
        84,  84,  85,  86,  87,  88,  88,  89,  90,  91,  93,  95,  96,  98,  99, 101,

        /*Size 128 x 128*/
        64,  63,  63,  62,  61,  61,  60,  59,  59,  58,  57,  56,  56,  55,  54,  54,
        63,  63,  62,  62,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  55,  55,
        63,  62,  62,  61,  61,  60,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,
        62,  62,  61,  61,  61,  60,  60,  60,  59,  59,  59,  58,  58,  58,  57,  57,
        61,  61,  61,  61,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,
        61,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  59,  59,  59,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        59,  59,  60,  60,  60,  60,  60,  60,  60,  61,  61,  61,  61,  61,  61,  62,
        59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  62,  62,  62,  62,  63,
        58,  58,  59,  59,  59,  60,  60,  61,  61,  61,  62,  62,  63,  63,  63,  64,
        57,  58,  58,  59,  59,  60,  60,  61,  61,  62,  62,  63,  63,  64,  64,  65,
        56,  57,  58,  58,  59,  60,  60,  61,  62,  62,  63,  64,  64,  65,  65,  66,
        56,  57,  57,  58,  59,  60,  60,  61,  62,  63,  63,  64,  65,  66,  66,  67,
        55,  56,  57,  58,  59,  59,  60,  61,  62,  63,  64,  65,  66,  67,  67,  68,
        54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
        54,  55,  56,  57,  58,  59,  60,  62,  63,  64,  65,  66,  67,  68,  69,  71

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        36,  51,  55,  65,  51,  59,  61,  67,  55,  61,  72,  78,  65,  67,  78,  85,

        /*Size 8 x 8*/
        37,  31,  50,  54,  56,  61,  66,  71,  31,  42,  52,  49,  50,  53,  58,  63,
        50,  52,  58,  57,  57,  59,  62,  67,  54,  49,  57,  62,  64,  66,  68,  72,
        56,  50,  57,  64,  69,  72,  74,  77,  61,  53,  59,  66,  72,  76,  79,  82,
        66,  58,  62,  68,  74,  79,  83,  85,  71,  63,  67,  72,  77,  82,  85,  88,

        /*Size 16 x 16*/
        37,  34,  31,  41,  50,  52,  54,  55,  56,  59,  61,  63,  66,  69,  71,  71,
        34,  36,  37,  44,  51,  51,  51,  52,  53,  55,  57,  59,  62,  65,  67,  67,
        31,  37,  42,  47,  52,  50,  49,  49,  50,  52,  53,  56,  58,  60,  63,  63,
        41,  44,  47,  51,  55,  54,  53,  53,  53,  55,  56,  58,  60,  62,  65,  65,
        50,  51,  52,  55,  58,  58,  57,  57,  57,  58,  59,  61,  62,  64,  67,  67,
        52,  51,  50,  54,  58,  59,  60,  60,  60,  61,  62,  64,  65,  67,  69,  69,
        54,  51,  49,  53,  57,  60,  62,  63,  64,  65,  66,  67,  68,  70,  72,  72,
        55,  52,  49,  53,  57,  60,  63,  65,  66,  67,  69,  70,  71,  73,  74,  74,
        56,  53,  50,  53,  57,  60,  64,  66,  69,  70,  72,  73,  74,  75,  77,  77,
        59,  55,  52,  55,  58,  61,  65,  67,  70,  72,  74,  75,  76,  78,  79,  79,
        61,  57,  53,  56,  59,  62,  66,  69,  72,  74,  76,  77,  79,  80,  82,  82,
        63,  59,  56,  58,  61,  64,  67,  70,  73,  75,  77,  79,  81,  82,  83,  83,
        66,  62,  58,  60,  62,  65,  68,  71,  74,  76,  79,  81,  83,  84,  85,  85,
        69,  65,  60,  62,  64,  67,  70,  73,  75,  78,  80,  82,  84,  85,  87,  87,
        71,  67,  63,  65,  67,  69,  72,  74,  77,  79,  82,  83,  85,  87,  88,  88,
        71,  67,  63,  65,  67,  69,  72,  74,  77,  79,  82,  83,  85,  87,  88,  88,

        /*Size 32 x 32*/
        37,  36,  34,  33,  31,  36,  41,  46,  50,  51,  52,  53,  54,  54,  55,  56,
        36,  35,  35,  34,  34,  38,  42,  47,  51,  51,  52,  52,  52,  53,  54,  54,
        34,  35,  36,  36,  37,  40,  44,  48,  51,  51,  51,  51,  51,  52,  52,  53,
        33,  34,  36,  38,  40,  43,  46,  49,  52,  51,  51,  50,  50,  50,  51,  51,
        31,  34,  37,  40,  42,  45,  47,  50,  52,  51,  50,  49,  49,  49,  49,  49,
        36,  38,  40,  43,  45,  47,  49,  52,  54,  53,  52,  51,  51,  51,  51,  51,
        41,  42,  44,  46,  47,  49,  51,  53,  55,  55,  54,  53,  53,  53,  53,  53,
        46,  47,  48,  49,  50,  52,  53,  55,  57,  56,  56,  55,  55,  55,  55,  55,
        50,  51,  51,  52,  52,  54,  55,  57,  58,  58,  58,  57,  57,  57,  57,  57,
        51,  51,  51,  51,  51,  53,  55,  56,  58,  58,  58,  58,  58,  58,  58,  58,
        52,  52,  51,  51,  50,  52,  54,  56,  58,  58,  59,  59,  60,  60,  60,  60,
        53,  52,  51,  50,  49,  51,  53,  55,  57,  58,  59,  60,  61,  61,  61,  62,
        54,  52,  51,  50,  49,  51,  53,  55,  57,  58,  60,  61,  62,  63,  63,  64,
        54,  53,  52,  50,  49,  51,  53,  55,  57,  58,  60,  61,  63,  63,  64,  64,
        55,  54,  52,  51,  49,  51,  53,  55,  57,  58,  60,  61,  63,  64,  65,  65,
        56,  54,  53,  51,  49,  51,  53,  55,  57,  58,  60,  62,  64,  64,  65,  66,

        /*Size 64 x 64*/
        37,  37,  36,  35,  34,  34,  33,  32,  31,  34,  36,  38,  41,  43,  46,  48,
        37,  36,  36,  35,  35,  34,  34,  33,  33,  35,  37,  39,  42,  44,  46,  48,
        36,  36,  35,  35,  35,  35,  34,  34,  34,  36,  38,  40,  42,  44,  47,  49,
        35,  35,  35,  35,  35,  35,  35,  35,  35,  37,  39,  41,  43,  45,  47,  49,
        34,  35,  35,  35,  36,  36,  36,  36,  37,  39,  40,  42,  44,  46,  48,  49,
        34,  34,  35,  35,  36,  36,  37,  38,  38,  40,  41,  43,  45,  46,  48,  50,
        33,  34,  34,  35,  36,  37,  38,  39,  40,  41,  43,  44,  46,  47,  49,  50,
        32,  33,  34,  35,  36,  38,  39,  40,  41,  42,  44,  45,  46,  48,  49,  51,
        31,  33,  34,  35,  37,  38,  40,  41,  42,  44,  45,  46,  47,  49,  50,  51,
        34,  35,  36,  37,  39,  40,  41,  42,  44,  45,  46,  47,  48,  49,  51,  52,
        36,  37,  38,  39,  40,  41,  43,  44,  45,  46,  47,  48,  49,  50,  52,  53,
        38,  39,  40,  41,  42,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,  53,
        41,  42,  42,  43,  44,  45,  46,  46,  47,  48,  49,  50,  51,  52,  53,  54,
        43,  44,  44,  45,  46,  46,  47,  48,  49,  49,  50,  51,  52,  53,  54,  55,
        46,  46,  47,  47,  48,  48,  49,  49,  50,  51,  52,  52,  53,  54,  55,  56,
        48,  48,  49,  49,  49,  50,  50,  51,  51,  52,  53,  53,  54,  55,  56,  57,

        /*Size 128 x 128*/
        37,  37,  37,  36,  36,  35,  35,  35,  34,  34,  34,  33,  33,  32,  32,  32,
        37,  37,  36,  36,  36,  35,  35,  35,  34,  34,  34,  33,  33,  33,  33,  32,
        37,  36,  36,  36,  36,  35,  35,  35,  35,  34,  34,  34,  34,  33,  33,  33,
        36,  36,  36,  36,  35,  35,  35,  35,  35,  35,  34,  34,  34,  34,  34,  33,
        36,  36,  36,  35,  35,  35,  35,  35,  35,  35,  35,  35,  34,  34,  34,  34,
        35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,
        35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  35,
        35,  35,  35,  35,  35,  35,  35,  35,  35,  35,  36,  36,  36,  36,  36,  36,
        34,  34,  35,  35,  35,  35,  35,  35,  36,  36,  36,  36,  36,  36,  36,  37,
        34,  34,  34,  35,  35,  35,  35,  35,  36,  36,  36,  36,  37,  37,  37,  37,
        34,  34,  34,  34,  35,  35,  35,  36,  36,  36,  36,  37,  37,  37,  38,  38,
        33,  33,  34,  34,  35,  35,  35,  36,  36,  36,  37,  37,  37,  38,  38,  38,
        33,  33,  34,  34,  34,  35,  35,  36,  36,  37,  37,  37,  38,  38,  39,  39,
        32,  33,  33,  34,  34,  35,  35,  36,  36,  37,  37,  38,  38,  39,  39,  40,
        32,  33,  33,  34,  34,  35,  35,  36,  36,  37,  38,  38,  39,  39,  40,  40,
        32,  32,  33,  33,  34,  35,  35,  36,  37,  37,  38,  38,  39,  40,  40,  41

      }
    }
  },
  {
    /* QM level 6*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        57,  60,  82, 101,  60,  78,  92, 104,  82,  92, 106, 114, 101, 104, 114, 119,

        /*Size 8 x 8*/
        64,  53,  56,  67,  79,  91, 100, 108,  53,  58,  57,  63,  73,  84,  94, 102,
        56,  57,  70,  77,  84,  91,  99, 105,  67,  63,  77,  87,  94, 100, 105, 109,
        79,  73,  84,  94, 101, 106, 110, 114,  91,  84,  91, 100, 106, 111, 114, 117,
        100,  94,  99, 105, 110, 114, 117, 120, 108, 102, 105, 109, 114, 117, 120, 122,

        /*Size 16 x 16*/
        64,  59,  53,  54,  56,  61,  67,  73,  79,  85,  91,  96, 100, 104, 108, 108,
        59,  57,  56,  56,  56,  60,  65,  70,  76,  82,  87,  92,  97, 101, 105, 105,
        53,  56,  58,  57,  57,  60,  63,  68,  73,  78,  84,  89,  94,  98, 102, 102,
        54,  56,  57,  60,  63,  67,  70,  74,  78,  83,  87,  92,  96, 100, 103, 103,
        56,  56,  57,  63,  70,  73,  77,  80,  84,  87,  91,  95,  99, 102, 105, 105,
        61,  60,  60,  67,  73,  78,  82,  85,  89,  92,  95,  98, 102, 104, 107, 107,
        67,  65,  63,  70,  77,  82,  87,  90,  94,  97, 100, 102, 105, 107, 109, 109,
        73,  70,  68,  74,  80,  85,  90,  94,  97, 100, 103, 105, 107, 109, 111, 111,
        79,  76,  73,  78,  84,  89,  94,  97, 101, 104, 106, 108, 110, 112, 114, 114,
        85,  82,  78,  83,  87,  92,  97, 100, 104, 106, 109, 110, 112, 114, 115, 115,
        91,  87,  84,  87,  91,  95, 100, 103, 106, 109, 111, 113, 114, 116, 117, 117,
        96,  92,  89,  92,  95,  98, 102, 105, 108, 110, 113, 114, 116, 117, 118, 118,
        100,  97,  94,  96,  99, 102, 105, 107, 110, 112, 114, 116, 117, 118, 120, 120,
        104, 101,  98, 100, 102, 104, 107, 109, 112, 114, 116, 117, 118, 119, 121, 121,
        108, 105, 102, 103, 105, 107, 109, 111, 114, 115, 117, 118, 120, 121, 122, 122,
        108, 105, 102, 103, 105, 107, 109, 111, 114, 115, 117, 118, 120, 121, 122, 122,

        /*Size 32 x 32*/
        64,  61,  59,  56,  53,  54,  54,  55,  56,  59,  61,  64,  67,  70,  73,  76,
        61,  60,  58,  56,  54,  55,  55,  56,  56,  58,  61,  63,  66,  69,  72,  75,
        59,  58,  57,  56,  56,  56,  56,  56,  56,  58,  60,  63,  65,  68,  70,  73,
        56,  56,  56,  57,  57,  57,  57,  56,  56,  58,  60,  62,  64,  66,  69,  72,
        53,  54,  56,  57,  58,  58,  57,  57,  57,  58,  60,  61,  63,  65,  68,  70,
        54,  55,  56,  57,  58,  58,  59,  59,  60,  61,  63,  65,  66,  69,  71,  73,
        54,  55,  56,  57,  57,  59,  60,  62,  63,  65,  67,  68,  70,  72,  74,  76,
        55,  56,  56,  56,  57,  59,  62,  64,  67,  68,  70,  72,  73,  75,  77,  79,
        56,  56,  56,  56,  57,  60,  63,  67,  70,  72,  73,  75,  77,  78,  80,  82,
        59,  58,  58,  58,  58,  61,  65,  68,  72,  74,  76,  77,  79,  81,  83,  84,
        61,  61,  60,  60,  60,  63,  67,  70,  73,  76,  78,  80,  82,  84,  85,  87,
        64,  63,  63,  62,  61,  65,  68,  72,  75,  77,  80,  82,  84,  86,  88,  90,
        67,  66,  65,  64,  63,  66,  70,  73,  77,  79,  82,  84,  87,  89,  90,  92,
        70,  69,  68,  66,  65,  69,  72,  75,  78,  81,  84,  86,  89,  90,  92,  94,
        73,  72,  70,  69,  68,  71,  74,  77,  80,  83,  85,  88,  90,  92,  94,  96,
        76,  75,  73,  72,  70,  73,  76,  79,  82,  84,  87,  90,  92,  94,  96,  97,

        /*Size 64 x 64*/
        64,  63,  61,  60,  59,  57,  56,  54,  53,  53,  54,  54,  54,  55,  55,  55,
        63,  62,  60,  59,  58,  57,  56,  55,  54,  54,  54,  54,  55,  55,  55,  56,
        61,  60,  60,  59,  58,  57,  56,  55,  54,  54,  55,  55,  55,  55,  56,  56,
        60,  59,  59,  58,  57,  57,  56,  56,  55,  55,  55,  55,  55,  56,  56,  56,
        59,  58,  58,  57,  57,  57,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        57,  57,  57,  57,  57,  57,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        56,  56,  56,  56,  56,  56,  57,  57,  57,  57,  57,  57,  57,  56,  56,  56,
        54,  55,  55,  56,  56,  56,  57,  57,  57,  57,  57,  57,  57,  57,  57,  57,
        53,  54,  54,  55,  56,  56,  57,  57,  58,  58,  58,  57,  57,  57,  57,  57,
        53,  54,  54,  55,  56,  56,  57,  57,  58,  58,  58,  58,  58,  58,  58,  58,
        54,  54,  55,  55,  56,  56,  57,  57,  58,  58,  58,  58,  59,  59,  59,  60,
        54,  54,  55,  55,  56,  56,  57,  57,  57,  58,  58,  59,  60,  60,  61,  61,
        54,  55,  55,  55,  56,  56,  57,  57,  57,  58,  59,  60,  60,  61,  62,  63,
        55,  55,  55,  56,  56,  56,  56,  57,  57,  58,  59,  60,  61,  62,  63,  64,
        55,  55,  56,  56,  56,  56,  56,  57,  57,  58,  59,  61,  62,  63,  64,  65,
        55,  56,  56,  56,  56,  56,  56,  57,  57,  58,  60,  61,  63,  64,  65,  67,

        /*Size 128 x 128*/
        64,  63,  63,  62,  61,  61,  60,  59,  59,  58,  57,  56,  56,  55,  54,  54,
        63,  63,  62,  61,  61,  60,  60,  59,  58,  58,  57,  56,  56,  55,  55,  54,
        63,  62,  62,  61,  60,  60,  59,  59,  58,  58,  57,  56,  56,  55,  55,  54,
        62,  61,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,  55,  55,  54,
        61,  61,  60,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,  56,  55,  55,
        61,  60,  60,  59,  59,  59,  58,  58,  58,  57,  57,  56,  56,  56,  55,  55,
        60,  60,  59,  59,  59,  58,  58,  58,  57,  57,  57,  56,  56,  56,  56,  55,
        59,  59,  59,  58,  58,  58,  58,  57,  57,  57,  57,  56,  56,  56,  56,  55,
        59,  58,  58,  58,  58,  58,  57,  57,  57,  57,  57,  56,  56,  56,  56,  56,
        58,  58,  58,  57,  57,  57,  57,  57,  57,  57,  57,  56,  56,  56,  56,  56,
        57,  57,  57,  57,  57,  57,  57,  57,  57,  57,  57,  56,  56,  56,  56,  56,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  57,  57,  57,  57,
        55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,  56,  57,  57,  57,  57,
        54,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  57,  57,  57,  57,
        54,  54,  54,  54,  55,  55,  55,  55,  56,  56,  56,  56,  57,  57,  57,  57

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        32,  34,  51,  69,  34,  47,  60,  72,  51,  60,  74,  83,  69,  72,  83,  90,

        /*Size 8 x 8*/
        37,  29,  31,  39,  49,  59,  68,  76,  29,  33,  32,  36,  44,  53,  62,  70,
        31,  32,  41,  47,  52,  59,  66,  73,  39,  36,  47,  56,  62,  67,  73,  78,
        49,  44,  52,  62,  69,  74,  79,  83,  59,  53,  59,  67,  74,  80,  84,  87,
        68,  62,  66,  73,  79,  84,  87,  90,  76,  70,  73,  78,  83,  87,  90,  92,

        /*Size 16 x 16*/
        37,  33,  29,  30,  31,  35,  39,  44,  49,  54,  59,  63,  68,  72,  76,  76,
        33,  32,  31,  31,  31,  34,  37,  42,  46,  51,  56,  60,  65,  69,  73,  73,
        29,  31,  33,  32,  32,  34,  36,  40,  44,  48,  53,  57,  62,  66,  70,  70,
        30,  31,  32,  34,  36,  39,  41,  45,  48,  52,  56,  60,  64,  68,  71,  71,
        31,  31,  32,  36,  41,  44,  47,  49,  52,  56,  59,  63,  66,  70,  73,  73,
        35,  34,  34,  39,  44,  47,  51,  54,  57,  60,  63,  66,  69,  72,  75,  75,
        39,  37,  36,  41,  47,  51,  56,  59,  62,  65,  67,  70,  73,  75,  78,  78,
        44,  42,  40,  45,  49,  54,  59,  62,  65,  68,  71,  73,  76,  78,  80,  80,
        49,  46,  44,  48,  52,  57,  62,  65,  69,  72,  74,  76,  79,  81,  83,  83,
        54,  51,  48,  52,  56,  60,  65,  68,  72,  74,  77,  79,  81,  83,  85,  85,
        59,  56,  53,  56,  59,  63,  67,  71,  74,  77,  80,  82,  84,  85,  87,  87,
        63,  60,  57,  60,  63,  66,  70,  73,  76,  79,  82,  83,  85,  87,  88,  88,
        68,  65,  62,  64,  66,  69,  73,  76,  79,  81,  84,  85,  87,  88,  90,  90,
        72,  69,  66,  68,  70,  72,  75,  78,  81,  83,  85,  87,  88,  90,  91,  91,
        76,  73,  70,  71,  73,  75,  78,  80,  83,  85,  87,  88,  90,  91,  92,  92,
        76,  73,  70,  71,  73,  75,  78,  80,  83,  85,  87,  88,  90,  91,  92,  92,

        /*Size 32 x 32*/
        37,  35,  33,  31,  29,  30,  30,  31,  31,  33,  35,  37,  39,  41,  44,  46,
        35,  34,  32,  31,  30,  30,  31,  31,  31,  33,  35,  36,  38,  41,  43,  45,
        33,  32,  32,  31,  31,  31,  31,  31,  31,  33,  34,  36,  37,  40,  42,  44,
        31,  31,  31,  31,  32,  32,  32,  31,  31,  33,  34,  35,  37,  39,  41,  43,
        29,  30,  31,  32,  33,  32,  32,  32,  32,  33,  34,  35,  36,  38,  40,  42,
        30,  30,  31,  32,  32,  33,  33,  34,  34,  35,  36,  37,  38,  40,  42,  44,
        30,  31,  31,  32,  32,  33,  34,  35,  36,  38,  39,  40,  41,  43,  45,  46,
        31,  31,  31,  31,  32,  34,  35,  37,  39,  40,  41,  43,  44,  45,  47,  49,
        31,  31,  31,  31,  32,  34,  36,  39,  41,  43,  44,  45,  47,  48,  49,  51,
        33,  33,  33,  33,  33,  35,  38,  40,  43,  44,  46,  47,  49,  50,  52,  53,
        35,  35,  34,  34,  34,  36,  39,  41,  44,  46,  47,  49,  51,  53,  54,  56,
        37,  36,  36,  35,  35,  37,  40,  43,  45,  47,  49,  51,  53,  55,  56,  58,
        39,  38,  37,  37,  36,  38,  41,  44,  47,  49,  51,  53,  56,  57,  59,  60,
        41,  41,  40,  39,  38,  40,  43,  45,  48,  50,  53,  55,  57,  59,  60,  62,
        44,  43,  42,  41,  40,  42,  45,  47,  49,  52,  54,  56,  59,  60,  62,  64,
        46,  45,  44,  43,  42,  44,  46,  49,  51,  53,  56,  58,  60,  62,  64,  65,

        /*Size 64 x 64*/
        37,  36,  35,  34,  33,  32,  31,  30,  29,  29,  30,  30,  30,  30,  31,  31,
        36,  35,  34,  33,  33,  32,  31,  30,  29,  30,  30,  30,  30,  30,  31,  31,
        35,  34,  34,  33,  32,  32,  31,  30,  30,  30,  30,  30,  31,  31,  31,  31,
        34,  33,  33,  33,  32,  32,  31,  31,  30,  30,  31,  31,  31,  31,  31,  31,
        33,  33,  32,  32,  32,  32,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,
        32,  32,  32,  32,  32,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,
        31,  31,  31,  31,  31,  31,  31,  32,  32,  32,  32,  32,  32,  31,  31,  31,
        30,  30,  30,  31,  31,  31,  32,  32,  32,  32,  32,  32,  32,  32,  32,  32,
        29,  29,  30,  30,  31,  31,  32,  32,  33,  32,  32,  32,  32,  32,  32,  32,
        29,  30,  30,  30,  31,  31,  32,  32,  32,  32,  32,  33,  33,  33,  33,  33,
        30,  30,  30,  31,  31,  31,  32,  32,  32,  32,  33,  33,  33,  33,  34,  34,
        30,  30,  30,  31,  31,  31,  32,  32,  32,  33,  33,  33,  34,  34,  34,  35,
        30,  30,  31,  31,  31,  31,  32,  32,  32,  33,  33,  34,  34,  35,  35,  36,
        30,  30,  31,  31,  31,  31,  31,  32,  32,  33,  33,  34,  35,  35,  36,  37,
        31,  31,  31,  31,  31,  31,  31,  32,  32,  33,  34,  34,  35,  36,  37,  38,
        31,  31,  31,  31,  31,  31,  31,  32,  32,  33,  34,  35,  36,  37,  38,  39,

        /*Size 128 x 128*/
        37,  36,  36,  35,  35,  34,  34,  33,  33,  32,  32,  31,  31,  30,  30,  29,
        36,  36,  35,  35,  35,  34,  34,  33,  33,  32,  32,  31,  31,  31,  30,  30,
        36,  35,  35,  35,  34,  34,  33,  33,  33,  32,  32,  31,  31,  31,  30,  30,
        35,  35,  35,  34,  34,  34,  33,  33,  32,  32,  32,  31,  31,  31,  30,  30,
        35,  35,  34,  34,  34,  33,  33,  33,  32,  32,  32,  31,  31,  31,  30,  30,
        34,  34,  34,  34,  33,  33,  33,  32,  32,  32,  32,  31,  31,  31,  31,  30,
        34,  34,  33,  33,  33,  33,  33,  32,  32,  32,  32,  31,  31,  31,  31,  31,
        33,  33,  33,  33,  33,  32,  32,  32,  32,  32,  32,  31,  31,  31,  31,  31,
        33,  33,  33,  32,  32,  32,  32,  32,  32,  32,  32,  31,  31,  31,  31,  31,
        32,  32,  32,  32,  32,  32,  32,  32,  32,  32,  32,  31,  31,  31,  31,  31,
        32,  32,  32,  32,  32,  32,  32,  32,  32,  32,  31,  31,  31,  31,  31,  31,
        31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,
        31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  32,  32,
        30,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  31,  32,  32,  32,
        30,  30,  30,  30,  30,  31,  31,  31,  31,  31,  31,  31,  32,  32,  32,  32,
        29,  30,  30,  30,  30,  30,  31,  31,  31,  31,  31,  31,  32,  32,  32,  32

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        61,  83,  87, 102,  83,  93,  97, 106,  87,  97, 113, 122, 102, 106, 122, 133,

        /*Size 8 x 8*/
        64,  54,  84,  86,  90,  96, 104, 112,  54,  72,  83,  78,  79,  85,  92, 100,
        84,  83,  93,  91,  90,  93,  99, 105,  86,  78,  91,  98, 101, 104, 108, 112,
        90,  79,  90, 101, 108, 113, 116, 120,  96,  85,  93, 104, 113, 119, 123, 127,
        104,  92,  99, 108, 116, 123, 129, 133, 112, 100, 105, 112, 120, 127, 133, 137,

        /*Size 16 x 16*/
        64,  59,  54,  69,  84,  85,  86,  88,  90,  93,  96, 100, 104, 108, 112, 112,
        59,  61,  63,  73,  84,  83,  82,  83,  84,  87,  90,  94,  98, 102, 106, 106,
        54,  63,  72,  78,  83,  80,  78,  78,  79,  82,  85,  88,  92,  96, 100, 100,
        69,  73,  78,  83,  88,  86,  84,  84,  85,  87,  89,  92,  95,  99, 102, 102,
        84,  84,  83,  88,  93,  92,  91,  90,  90,  92,  93,  96,  99, 102, 105, 105,
        85,  83,  80,  86,  92,  93,  94,  95,  96,  97,  99, 101, 103, 106, 109, 109,
        86,  82,  78,  84,  91,  94,  98, 100, 101, 102, 104, 106, 108, 110, 112, 112,
        88,  83,  78,  84,  90,  95, 100, 102, 105, 106, 108, 110, 112, 114, 116, 116,
        90,  84,  79,  85,  90,  96, 101, 105, 108, 110, 113, 114, 116, 118, 120, 120,
        93,  87,  82,  87,  92,  97, 102, 106, 110, 113, 116, 118, 120, 122, 124, 124,
        96,  90,  85,  89,  93,  99, 104, 108, 113, 116, 119, 121, 123, 125, 127, 127,
        100,  94,  88,  92,  96, 101, 106, 110, 114, 118, 121, 124, 126, 128, 130, 130,
        104,  98,  92,  95,  99, 103, 108, 112, 116, 120, 123, 126, 129, 131, 133, 133,
        108, 102,  96,  99, 102, 106, 110, 114, 118, 122, 125, 128, 131, 133, 135, 135,
        112, 106, 100, 102, 105, 109, 112, 116, 120, 124, 127, 130, 133, 135, 137, 137,
        112, 106, 100, 102, 105, 109, 112, 116, 120, 124, 127, 130, 133, 135, 137, 137,

        /*Size 32 x 32*/
        64,  62,  59,  57,  54,  62,  69,  77,  84,  85,  85,  85,  86,  87,  88,  89,
        62,  61,  60,  59,  59,  65,  71,  78,  84,  84,  84,  84,  84,  84,  85,  86,
        59,  60,  61,  62,  63,  68,  73,  79,  84,  83,  83,  82,  82,  82,  83,  84,
        57,  59,  62,  65,  67,  71,  75,  79,  84,  83,  82,  81,  80,  80,  81,  81,
        54,  59,  63,  67,  72,  75,  78,  80,  83,  82,  80,  79,  78,  78,  78,  79,
        62,  65,  68,  71,  75,  77,  80,  83,  86,  84,  83,  82,  81,  81,  81,  82,
        69,  71,  73,  75,  78,  80,  83,  85,  88,  87,  86,  85,  84,  84,  84,  85,
        77,  78,  79,  79,  80,  83,  85,  88,  90,  89,  89,  88,  87,  87,  87,  87,
        84,  84,  84,  84,  83,  86,  88,  90,  93,  92,  92,  91,  91,  90,  90,  90,
        85,  84,  83,  83,  82,  84,  87,  89,  92,  92,  92,  92,  92,  93,  93,  93,
        85,  84,  83,  82,  80,  83,  86,  89,  92,  92,  93,  94,  94,  95,  95,  95,
        85,  84,  82,  81,  79,  82,  85,  88,  91,  92,  94,  95,  96,  97,  97,  98,
        86,  84,  82,  80,  78,  81,  84,  87,  91,  92,  94,  96,  98,  99, 100, 100,
        87,  84,  82,  80,  78,  81,  84,  87,  90,  93,  95,  97,  99, 100, 101, 102,
        88,  85,  83,  81,  78,  81,  84,  87,  90,  93,  95,  97, 100, 101, 102, 103,
        89,  86,  84,  81,  79,  82,  85,  87,  90,  93,  95,  98, 100, 102, 103, 105,

        /*Size 64 x 64*/
        64,  63,  62,  60,  59,  58,  57,  55,  54,  58,  62,  66,  69,  73,  77,  81,
        63,  62,  61,  60,  60,  59,  58,  57,  56,  60,  63,  67,  70,  74,  77,  81,
        62,  61,  61,  60,  60,  60,  59,  59,  59,  62,  65,  68,  71,  74,  78,  81,
        60,  60,  60,  61,  61,  61,  61,  61,  61,  64,  67,  69,  72,  75,  78,  81,
        59,  60,  60,  61,  61,  62,  62,  63,  63,  66,  68,  71,  73,  76,  79,  81,
        58,  59,  60,  61,  62,  62,  63,  64,  65,  67,  70,  72,  74,  77,  79,  81,
        57,  58,  59,  61,  62,  63,  65,  66,  67,  69,  71,  73,  75,  77,  79,  81,
        55,  57,  59,  61,  63,  64,  66,  68,  70,  71,  73,  75,  76,  78,  80,  82,
        54,  56,  59,  61,  63,  65,  67,  70,  72,  73,  75,  76,  78,  79,  80,  82,
        58,  60,  62,  64,  66,  67,  69,  71,  73,  75,  76,  77,  79,  80,  82,  83,
        62,  63,  65,  67,  68,  70,  71,  73,  75,  76,  77,  79,  80,  81,  83,  84,
        66,  67,  68,  69,  71,  72,  73,  75,  76,  77,  79,  80,  81,  83,  84,  85,
        69,  70,  71,  72,  73,  74,  75,  76,  78,  79,  80,  81,  83,  84,  85,  87,
        73,  74,  74,  75,  76,  77,  77,  78,  79,  80,  81,  83,  84,  85,  87,  88,
        77,  77,  78,  78,  79,  79,  79,  80,  80,  82,  83,  84,  85,  87,  88,  89,
        81,  81,  81,  81,  81,  81,  81,  82,  82,  83,  84,  85,  87,  88,  89,  90,

        /*Size 128 x 128*/
        64,  63,  63,  62,  62,  61,  60,  60,  59,  59,  58,  57,  57,  56,  55,  55,
        63,  63,  62,  62,  61,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,
        63,  62,  62,  62,  61,  61,  60,  60,  60,  59,  59,  58,  58,  58,  57,  57,
        62,  62,  62,  61,  61,  61,  60,  60,  60,  60,  59,  59,  59,  58,  58,  58,
        62,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  59,  59,  59,  59,
        61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        60,  60,  60,  60,  60,  60,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        60,  60,  60,  60,  60,  60,  61,  61,  61,  61,  61,  61,  61,  61,  62,  62,
        59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  62,  62,  62,  62,  63,  63,
        59,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,  62,  63,  63,  63,  64,
        58,  58,  59,  59,  60,  60,  61,  61,  62,  62,  62,  63,  63,  64,  64,  65,
        57,  58,  58,  59,  60,  60,  61,  61,  62,  62,  63,  63,  64,  65,  65,  66,
        57,  57,  58,  59,  59,  60,  61,  61,  62,  63,  63,  64,  65,  65,  66,  67,
        56,  57,  58,  58,  59,  60,  61,  61,  62,  63,  64,  65,  65,  66,  67,  68,
        55,  56,  57,  58,  59,  60,  61,  62,  63,  63,  64,  65,  66,  67,  68,  69,
        55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,  70

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        41,  54,  57,  65,  54,  60,  62,  67,  57,  62,  71,  75,  65,  67,  75,  81,

        /*Size 8 x 8*/
        43,  37,  55,  56,  58,  62,  66,  70,  37,  48,  54,  51,  52,  55,  59,  64,
        55,  54,  60,  58,  58,  60,  63,  67,  56,  51,  58,  63,  64,  66,  68,  71,
        58,  52,  58,  64,  68,  71,  73,  75,  62,  55,  60,  66,  71,  74,  76,  78,
        66,  59,  63,  68,  73,  76,  79,  81,  70,  64,  67,  71,  75,  78,  81,  84,

        /*Size 16 x 16*/
        43,  40,  37,  46,  55,  55,  56,  57,  58,  60,  62,  64,  66,  68,  70,  70,
        40,  41,  42,  48,  55,  54,  53,  54,  55,  57,  58,  60,  63,  65,  67,  67,
        37,  42,  48,  51,  54,  53,  51,  51,  52,  53,  55,  57,  59,  61,  64,  64,
        46,  48,  51,  54,  57,  56,  55,  55,  55,  56,  58,  59,  61,  63,  65,  65,
        55,  55,  54,  57,  60,  59,  58,  58,  58,  59,  60,  62,  63,  65,  67,  67,
        55,  54,  53,  56,  59,  60,  60,  61,  61,  62,  63,  64,  65,  67,  69,  69,
        56,  53,  51,  55,  58,  60,  63,  63,  64,  65,  66,  67,  68,  69,  71,  71,
        57,  54,  51,  55,  58,  61,  63,  65,  66,  67,  68,  69,  70,  71,  73,  73,
        58,  55,  52,  55,  58,  61,  64,  66,  68,  69,  71,  72,  73,  74,  75,  75,
        60,  57,  53,  56,  59,  62,  65,  67,  69,  71,  72,  73,  74,  75,  77,  77,
        62,  58,  55,  58,  60,  63,  66,  68,  71,  72,  74,  75,  76,  77,  78,  78,
        64,  60,  57,  59,  62,  64,  67,  69,  72,  73,  75,  76,  78,  79,  80,  80,
        66,  63,  59,  61,  63,  65,  68,  70,  73,  74,  76,  78,  79,  80,  81,  81,
        68,  65,  61,  63,  65,  67,  69,  71,  74,  75,  77,  79,  80,  81,  82,  82,
        70,  67,  64,  65,  67,  69,  71,  73,  75,  77,  78,  80,  81,  82,  84,  84,
        70,  67,  64,  65,  67,  69,  71,  73,  75,  77,  78,  80,  81,  82,  84,  84,

        /*Size 32 x 32*/
        43,  41,  40,  38,  37,  41,  46,  50,  55,  55,  55,  55,  56,  56,  57,  57,
        41,  41,  40,  40,  39,  43,  47,  51,  55,  55,  54,  54,  54,  55,  55,  56,
        40,  40,  41,  42,  42,  45,  48,  51,  55,  54,  54,  53,  53,  54,  54,  54,
        38,  40,  42,  43,  45,  47,  50,  52,  54,  54,  53,  53,  52,  52,  53,  53,
        37,  39,  42,  45,  48,  49,  51,  53,  54,  53,  53,  52,  51,  51,  51,  52,
        41,  43,  45,  47,  49,  51,  52,  54,  56,  55,  54,  53,  53,  53,  53,  53,
        46,  47,  48,  50,  51,  52,  54,  55,  57,  56,  56,  55,  55,  55,  55,  55,
        50,  51,  51,  52,  53,  54,  55,  57,  58,  58,  57,  57,  56,  56,  57,  57,
        55,  55,  55,  54,  54,  56,  57,  58,  60,  59,  59,  59,  58,  58,  58,  58,
        55,  55,  54,  54,  53,  55,  56,  58,  59,  59,  59,  59,  59,  59,  60,  60,
        55,  54,  54,  53,  53,  54,  56,  57,  59,  59,  60,  60,  60,  61,  61,  61,
        55,  54,  53,  53,  52,  53,  55,  57,  59,  59,  60,  61,  61,  62,  62,  62,
        56,  54,  53,  52,  51,  53,  55,  56,  58,  59,  60,  61,  63,  63,  63,  64,
        56,  55,  54,  52,  51,  53,  55,  56,  58,  59,  61,  62,  63,  64,  64,  65,
        57,  55,  54,  53,  51,  53,  55,  57,  58,  60,  61,  62,  63,  64,  65,  66,
        57,  56,  54,  53,  52,  53,  55,  57,  58,  60,  61,  62,  64,  65,  66,  66,

        /*Size 64 x 64*/
        43,  42,  41,  41,  40,  39,  38,  38,  37,  39,  41,  44,  46,  48,  50,  53,
        42,  42,  41,  41,  40,  40,  39,  39,  38,  40,  42,  44,  46,  48,  51,  53,
        41,  41,  41,  41,  40,  40,  40,  40,  39,  41,  43,  45,  47,  49,  51,  53,
        41,  41,  41,  41,  41,  41,  41,  41,  41,  43,  44,  46,  48,  49,  51,  53,
        40,  40,  40,  41,  41,  41,  42,  42,  42,  44,  45,  47,  48,  50,  51,  53,
        39,  40,  40,  41,  41,  42,  42,  43,  43,  45,  46,  48,  49,  50,  52,  53,
        38,  39,  40,  41,  42,  42,  43,  44,  45,  46,  47,  48,  50,  51,  52,  53,
        38,  39,  40,  41,  42,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,  53,
        37,  38,  39,  41,  42,  43,  45,  46,  48,  48,  49,  50,  51,  52,  53,  53,
        39,  40,  41,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,  52,  53,  54,
        41,  42,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,  52,  53,  54,  55,
        44,  44,  45,  46,  47,  48,  48,  49,  50,  51,  52,  52,  53,  54,  55,  55,
        46,  46,  47,  48,  48,  49,  50,  50,  51,  52,  52,  53,  54,  55,  55,  56,
        48,  48,  49,  49,  50,  50,  51,  51,  52,  52,  53,  54,  55,  55,  56,  57,
        50,  51,  51,  51,  51,  52,  52,  52,  53,  53,  54,  55,  55,  56,  57,  57,
        53,  53,  53,  53,  53,  53,  53,  53,  53,  54,  55,  55,  56,  57,  57,  58,

        /*Size 128 x 128*/
        43,  42,  42,  42,  41,  41,  41,  40,  40,  39,  39,  39,  38,  38,  38,  37,
        42,  42,  42,  41,  41,  41,  41,  40,  40,  40,  39,  39,  39,  38,  38,  38,
        42,  42,  42,  41,  41,  41,  41,  40,  40,  40,  40,  39,  39,  39,  39,  38,
        42,  41,  41,  41,  41,  41,  41,  40,  40,  40,  40,  40,  39,  39,  39,  39,
        41,  41,  41,  41,  41,  41,  41,  40,  40,  40,  40,  40,  40,  40,  40,  40,
        41,  41,  41,  41,  41,  41,  41,  41,  40,  40,  40,  40,  40,  40,  40,  40,
        41,  41,  41,  41,  41,  41,  41,  41,  41,  41,  41,  41,  41,  41,  41,  41,
        40,  40,  40,  40,  40,  41,  41,  41,  41,  41,  41,  41,  41,  41,  41,  41,
        40,  40,  40,  40,  40,  40,  41,  41,  41,  41,  41,  41,  42,  42,  42,  42,
        39,  40,  40,  40,  40,  40,  41,  41,  41,  41,  42,  42,  42,  42,  42,  43,
        39,  39,  40,  40,  40,  40,  41,  41,  41,  42,  42,  42,  42,  43,  43,  43,
        39,  39,  39,  40,  40,  40,  41,  41,  41,  42,  42,  42,  43,  43,  43,  44,
        38,  39,  39,  39,  40,  40,  41,  41,  42,  42,  42,  43,  43,  44,  44,  44,
        38,  38,  39,  39,  40,  40,  41,  41,  42,  42,  43,  43,  44,  44,  45,  45,
        38,  38,  39,  39,  40,  40,  41,  41,  42,  42,  43,  43,  44,  45,  45,  46,
        37,  38,  38,  39,  40,  40,  41,  41,  42,  43,  43,  44,  44,  45,  46,  46

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        61,  87,  93, 108,  87,  98, 103, 112,  93, 103, 119, 128, 108, 112, 128, 140,

        /*Size 8 x 8*/
        64,  54,  85,  91,  95, 102, 110, 118,  54,  72,  88,  83,  84,  90,  97, 105,
        85,  88,  98,  96,  96,  99, 104, 111,  91,  83,  96, 104, 107, 110, 114, 119,
        95,  84,  96, 107, 114, 119, 123, 127, 102,  90,  99, 110, 119, 125, 130, 134,
        110,  97, 104, 114, 123, 130, 135, 140, 118, 105, 111, 119, 127, 134, 140, 144,

        /*Size 16 x 16*/
        64,  59,  54,  70,  85,  88,  91,  93,  95,  98, 102, 106, 110, 114, 118, 118,
        59,  61,  63,  75,  87,  87,  87,  88,  89,  93,  96, 100, 104, 108, 112, 112,
        54,  63,  72,  80,  88,  85,  83,  83,  84,  87,  90,  94,  97, 101, 105, 105,
        70,  75,  80,  87,  93,  91,  89,  89,  90,  92,  94,  98, 101, 104, 108, 108,
        85,  87,  88,  93,  98,  97,  96,  96,  96,  97,  99, 102, 104, 108, 111, 111,
        88,  87,  85,  91,  97,  98, 100, 100, 101, 103, 104, 107, 109, 112, 115, 115,
        91,  87,  83,  89,  96, 100, 104, 105, 107, 108, 110, 112, 114, 116, 119, 119,
        93,  88,  83,  89,  96, 100, 105, 108, 110, 112, 114, 116, 118, 120, 123, 123,
        95,  89,  84,  90,  96, 101, 107, 110, 114, 116, 119, 121, 123, 125, 127, 127,
        98,  93,  87,  92,  97, 103, 108, 112, 116, 119, 122, 124, 126, 128, 130, 130,
        102,  96,  90,  94,  99, 104, 110, 114, 119, 122, 125, 127, 130, 132, 134, 134,
        106, 100,  94,  98, 102, 107, 112, 116, 121, 124, 127, 130, 133, 135, 137, 137,
        110, 104,  97, 101, 104, 109, 114, 118, 123, 126, 130, 133, 135, 137, 140, 140,
        114, 108, 101, 104, 108, 112, 116, 120, 125, 128, 132, 135, 137, 140, 142, 142,
        118, 112, 105, 108, 111, 115, 119, 123, 127, 130, 134, 137, 140, 142, 144, 144,
        118, 112, 105, 108, 111, 115, 119, 123, 127, 130, 134, 137, 140, 142, 144, 144,

        /*Size 32 x 32*/
        64,  62,  59,  57,  54,  62,  70,  77,  85,  86,  88,  89,  91,  92,  93,  94,
        62,  61,  60,  59,  59,  65,  72,  79,  86,  87,  87,  88,  89,  90,  90,  91,
        59,  60,  61,  62,  63,  69,  75,  81,  87,  87,  87,  87,  87,  87,  88,  89,
        57,  59,  62,  65,  68,  72,  77,  82,  87,  87,  86,  85,  85,  85,  86,  86,
        54,  59,  63,  68,  72,  76,  80,  84,  88,  87,  85,  84,  83,  83,  83,  84,
        62,  65,  69,  72,  76,  80,  83,  87,  91,  89,  88,  87,  86,  86,  86,  87,
        70,  72,  75,  77,  80,  83,  87,  90,  93,  92,  91,  90,  89,  89,  89,  90,
        77,  79,  81,  82,  84,  87,  90,  93,  96,  95,  94,  93,  92,  92,  93,  93,
        85,  86,  87,  87,  88,  91,  93,  96,  98,  97,  97,  96,  96,  96,  96,  96,
        86,  87,  87,  87,  87,  89,  92,  95,  97,  98,  98,  98,  98,  98,  98,  98,
        88,  87,  87,  86,  85,  88,  91,  94,  97,  98,  98,  99, 100, 100, 100, 101,
        89,  88,  87,  85,  84,  87,  90,  93,  96,  98,  99, 100, 102, 102, 103, 103,
        91,  89,  87,  85,  83,  86,  89,  92,  96,  98, 100, 102, 104, 105, 105, 106,
        92,  90,  87,  85,  83,  86,  89,  92,  96,  98, 100, 102, 105, 106, 107, 108,
        93,  90,  88,  86,  83,  86,  89,  93,  96,  98, 100, 103, 105, 107, 108, 109,
        94,  91,  89,  86,  84,  87,  90,  93,  96,  98, 101, 103, 106, 108, 109, 111,

        /*Size 64 x 64*/
        64,  63,  62,  60,  59,  58,  57,  55,  54,  58,  62,  66,  70,  73,  77,  81,
        63,  62,  61,  60,  60,  59,  58,  57,  56,  60,  64,  67,  71,  74,  78,  82,
        62,  61,  61,  60,  60,  60,  59,  59,  59,  62,  65,  69,  72,  76,  79,  82,
        60,  60,  60,  60,  61,  61,  61,  61,  61,  64,  67,  70,  73,  77,  80,  83,
        59,  60,  60,  61,  61,  62,  62,  63,  63,  66,  69,  72,  75,  78,  81,  84,
        58,  59,  60,  61,  62,  62,  63,  64,  65,  68,  71,  73,  76,  79,  82,  84,
        57,  58,  59,  61,  62,  63,  65,  66,  68,  70,  72,  75,  77,  80,  82,  85,
        55,  57,  59,  61,  63,  64,  66,  68,  70,  72,  74,  77,  79,  81,  83,  86,
        54,  56,  59,  61,  63,  65,  68,  70,  72,  74,  76,  78,  80,  82,  84,  86,
        58,  60,  62,  64,  66,  68,  70,  72,  74,  76,  78,  80,  82,  84,  86,  88,
        62,  64,  65,  67,  69,  71,  72,  74,  76,  78,  80,  82,  83,  85,  87,  89,
        66,  67,  69,  70,  72,  73,  75,  77,  78,  80,  82,  83,  85,  87,  88,  90,
        70,  71,  72,  73,  75,  76,  77,  79,  80,  82,  83,  85,  87,  88,  90,  92,
        73,  74,  76,  77,  78,  79,  80,  81,  82,  84,  85,  87,  88,  90,  91,  93,
        77,  78,  79,  80,  81,  82,  82,  83,  84,  86,  87,  88,  90,  91,  93,  94,
        81,  82,  82,  83,  84,  84,  85,  86,  86,  88,  89,  90,  92,  93,  94,  95,

        /*Size 128 x 128*/
        64,  63,  63,  62,  62,  61,  60,  60,  59,  58,  58,  57,  57,  56,  55,  55,
        63,  63,  62,  62,  61,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,
        63,  62,  62,  62,  61,  61,  60,  60,  60,  59,  59,  58,  58,  57,  57,  57,
        62,  62,  62,  61,  61,  61,  60,  60,  60,  59,  59,  59,  59,  58,  58,  58,
        62,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,
        61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        60,  60,  60,  60,  60,  60,  60,  60,  61,  61,  61,  61,  61,  61,  61,  61,
        60,  60,  60,  60,  60,  60,  60,  61,  61,  61,  61,  61,  61,  61,  62,  62,
        59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  62,  62,  62,  62,  63,  63,
        58,  59,  59,  59,  60,  60,  61,  61,  61,  62,  62,  62,  63,  63,  63,  64,
        58,  58,  59,  59,  60,  60,  61,  61,  62,  62,  62,  63,  63,  64,  64,  65,
        57,  58,  58,  59,  59,  60,  61,  61,  62,  62,  63,  63,  64,  65,  65,  66,
        57,  57,  58,  59,  59,  60,  61,  61,  62,  63,  63,  64,  65,  65,  66,  67,
        56,  57,  57,  58,  59,  60,  61,  61,  62,  63,  64,  65,  65,  66,  67,  68,
        55,  56,  57,  58,  59,  60,  61,  62,  63,  63,  64,  65,  66,  67,  68,  69,
        55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,  70

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        39,  54,  57,  65,  54,  60,  62,  67,  57,  62,  71,  75,  65,  67,  75,  81,

        /*Size 8 x 8*/
        41,  35,  53,  56,  58,  62,  66,  70,  35,  45,  55,  51,  52,  55,  59,  64,
        53,  55,  60,  59,  59,  60,  63,  67,  56,  51,  59,  63,  65,  66,  68,  71,
        58,  52,  59,  65,  68,  71,  73,  75,  62,  55,  60,  66,  71,  74,  76,  78,
        66,  59,  63,  68,  73,  76,  79,  81,  70,  64,  67,  71,  75,  78,  81,  83,

        /*Size 16 x 16*/
        41,  38,  35,  44,  53,  54,  56,  57,  58,  60,  62,  64,  66,  68,  70,  70,
        38,  39,  40,  47,  54,  54,  54,  54,  55,  57,  59,  61,  63,  65,  67,  67,
        35,  40,  45,  50,  55,  53,  51,  52,  52,  54,  55,  57,  59,  62,  64,  64,
        44,  47,  50,  54,  57,  56,  55,  55,  55,  57,  58,  59,  61,  63,  65,  65,
        53,  54,  55,  57,  60,  59,  59,  59,  59,  59,  60,  62,  63,  65,  67,  67,
        54,  54,  53,  56,  59,  60,  61,  61,  62,  62,  63,  64,  66,  67,  69,  69,
        56,  54,  51,  55,  59,  61,  63,  64,  65,  65,  66,  67,  68,  69,  71,  71,
        57,  54,  52,  55,  59,  61,  64,  65,  66,  67,  68,  69,  70,  71,  73,  73,
        58,  55,  52,  55,  59,  62,  65,  66,  68,  69,  71,  72,  73,  74,  75,  75,
        60,  57,  54,  57,  59,  62,  65,  67,  69,  71,  72,  73,  74,  75,  76,  76,
        62,  59,  55,  58,  60,  63,  66,  68,  71,  72,  74,  75,  76,  77,  78,  78,
        64,  61,  57,  59,  62,  64,  67,  69,  72,  73,  75,  76,  78,  79,  80,  80,
        66,  63,  59,  61,  63,  66,  68,  70,  73,  74,  76,  78,  79,  80,  81,  81,
        68,  65,  62,  63,  65,  67,  69,  71,  74,  75,  77,  79,  80,  81,  82,  82,
        70,  67,  64,  65,  67,  69,  71,  73,  75,  76,  78,  80,  81,  82,  83,  83,
        70,  67,  64,  65,  67,  69,  71,  73,  75,  76,  78,  80,  81,  82,  83,  83,

        /*Size 32 x 32*/
        41,  39,  38,  36,  35,  39,  44,  48,  53,  54,  54,  55,  56,  56,  57,  57,
        39,  39,  38,  38,  37,  41,  45,  49,  53,  54,  54,  54,  55,  55,  56,  56,
        38,  38,  39,  39,  40,  43,  47,  50,  54,  54,  54,  54,  54,  54,  54,  55,
        36,  38,  39,  41,  43,  45,  48,  51,  54,  54,  53,  53,  52,  53,  53,  53,
        35,  37,  40,  43,  45,  48,  50,  52,  55,  54,  53,  52,  51,  52,  52,  52,
        39,  41,  43,  45,  48,  50,  52,  54,  56,  55,  54,  54,  53,  53,  53,  54,
        44,  45,  47,  48,  50,  52,  54,  55,  57,  57,  56,  55,  55,  55,  55,  55,
        48,  49,  50,  51,  52,  54,  55,  57,  58,  58,  58,  57,  57,  57,  57,  57,
        53,  53,  54,  54,  55,  56,  57,  58,  60,  59,  59,  59,  59,  59,  59,  59,
        54,  54,  54,  54,  54,  55,  57,  58,  59,  59,  60,  60,  60,  60,  60,  60,
        54,  54,  54,  53,  53,  54,  56,  58,  59,  60,  60,  60,  61,  61,  61,  61,
        55,  54,  54,  53,  52,  54,  55,  57,  59,  60,  60,  61,  62,  62,  62,  63,
        56,  55,  54,  52,  51,  53,  55,  57,  59,  60,  61,  62,  63,  63,  64,  64,
        56,  55,  54,  53,  52,  53,  55,  57,  59,  60,  61,  62,  63,  64,  64,  65,
        57,  56,  54,  53,  52,  53,  55,  57,  59,  60,  61,  62,  64,  64,  65,  66,
        57,  56,  55,  53,  52,  54,  55,  57,  59,  60,  61,  63,  64,  65,  66,  67,

        /*Size 64 x 64*/
        41,  40,  39,  39,  38,  37,  36,  36,  35,  37,  39,  42,  44,  46,  48,  51,
        40,  40,  39,  39,  38,  38,  37,  37,  36,  38,  40,  42,  45,  47,  49,  51,
        39,  39,  39,  39,  38,  38,  38,  38,  37,  39,  41,  43,  45,  47,  49,  51,
        39,  39,  39,  39,  39,  39,  39,  39,  39,  41,  42,  44,  46,  48,  50,  52,
        38,  38,  38,  39,  39,  39,  39,  40,  40,  42,  43,  45,  47,  49,  50,  52,
        37,  38,  38,  39,  39,  40,  40,  41,  41,  43,  44,  46,  48,  49,  51,  52,
        36,  37,  38,  39,  39,  40,  41,  42,  43,  44,  45,  47,  48,  50,  51,  53,
        36,  37,  38,  39,  40,  41,  42,  43,  44,  45,  47,  48,  49,  50,  52,  53,
        35,  36,  37,  39,  40,  41,  43,  44,  45,  46,  48,  49,  50,  51,  52,  53,
        37,  38,  39,  41,  42,  43,  44,  45,  46,  48,  49,  50,  51,  52,  53,  54,
        39,  40,  41,  42,  43,  44,  45,  47,  48,  49,  50,  51,  52,  53,  54,  55,
        42,  42,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,  53,  54,  55,  56,
        44,  45,  45,  46,  47,  48,  48,  49,  50,  51,  52,  53,  54,  54,  55,  56,
        46,  47,  47,  48,  49,  49,  50,  50,  51,  52,  53,  54,  54,  55,  56,  57,
        48,  49,  49,  50,  50,  51,  51,  52,  52,  53,  54,  55,  55,  56,  57,  58,
        51,  51,  51,  52,  52,  52,  53,  53,  53,  54,  55,  56,  56,  57,  58,  58,

        /*Size 128 x 128*/
        41,  40,  40,  40,  39,  39,  39,  38,  38,  37,  37,  37,  36,  36,  36,  35,
        40,  40,  40,  39,  39,  39,  39,  38,  38,  38,  37,  37,  37,  36,  36,  36,
        40,  40,  40,  39,  39,  39,  39,  38,  38,  38,  38,  37,  37,  37,  37,  36,
        40,  39,  39,  39,  39,  39,  39,  38,  38,  38,  38,  38,  37,  37,  37,  37,
        39,  39,  39,  39,  39,  39,  39,  38,  38,  38,  38,  38,  38,  38,  38,  37,
        39,  39,  39,  39,  39,  39,  39,  39,  38,  38,  38,  38,  38,  38,  38,  38,
        39,  39,  39,  39,  39,  39,  39,  39,  39,  39,  39,  39,  39,  39,  39,  39,
        38,  38,  38,  38,  38,  39,  39,  39,  39,  39,  39,  39,  39,  39,  39,  39,
        38,  38,  38,  38,  38,  38,  39,  39,  39,  39,  39,  39,  39,  40,  40,  40,
        37,  38,  38,  38,  38,  38,  39,  39,  39,  39,  39,  40,  40,  40,  40,  40,
        37,  37,  38,  38,  38,  38,  39,  39,  39,  39,  40,  40,  40,  41,  41,  41,
        37,  37,  37,  38,  38,  38,  39,  39,  39,  40,  40,  40,  41,  41,  41,  42,
        36,  37,  37,  37,  38,  38,  39,  39,  39,  40,  40,  41,  41,  41,  42,  42,
        36,  36,  37,  37,  38,  38,  39,  39,  40,  40,  41,  41,  41,  42,  42,  43,
        36,  36,  37,  37,  38,  38,  39,  39,  40,  40,  41,  41,  42,  42,  43,  43,
        35,  36,  36,  37,  37,  38,  39,  39,  40,  40,  41,  42,  42,  43,  43,  44

      }
    }
  },
  {
    /* QM level 7*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        59,  61,  76,  88,  61,  74,  83,  90,  76,  83,  91,  96,  88,  90,  96,  99,

        /*Size 8 x 8*/
        64,  55,  58,  66,  75,  82,  88,  92,  55,  60,  58,  63,  71,  78,  84,  89,
        58,  58,  69,  73,  78,  83,  87,  91,  66,  63,  73,  80,  84,  88,  91,  93,
        75,  71,  78,  84,  89,  92,  94,  96,  82,  78,  83,  88,  92,  94,  96,  97,
        88,  84,  87,  91,  94,  96,  98,  99,  92,  89,  91,  93,  96,  97,  99, 100,

        /*Size 16 x 16*/
        64,  60,  55,  57,  58,  62,  66,  71,  75,  79,  82,  85,  88,  90,  92,  92,
        60,  59,  57,  58,  58,  61,  65,  69,  73,  76,  80,  83,  86,  88,  91,  91,
        55,  57,  60,  59,  58,  61,  63,  67,  71,  74,  78,  81,  84,  87,  89,  89,
        57,  58,  59,  61,  63,  66,  68,  71,  74,  77,  80,  83,  86,  88,  90,  90,
        58,  58,  58,  63,  69,  71,  73,  76,  78,  80,  83,  85,  87,  89,  91,  91,
        62,  61,  61,  66,  71,  74,  77,  79,  81,  83,  85,  87,  89,  90,  92,  92,
        66,  65,  63,  68,  73,  77,  80,  82,  84,  86,  88,  89,  91,  92,  93,  93,
        71,  69,  67,  71,  76,  79,  82,  84,  86,  88,  90,  91,  92,  93,  94,  94,
        75,  73,  71,  74,  78,  81,  84,  86,  89,  90,  92,  93,  94,  95,  96,  96,
        79,  76,  74,  77,  80,  83,  86,  88,  90,  91,  93,  94,  95,  96,  96,  96,
        82,  80,  78,  80,  83,  85,  88,  90,  92,  93,  94,  95,  96,  97,  97,  97,
        85,  83,  81,  83,  85,  87,  89,  91,  93,  94,  95,  96,  97,  97,  98,  98,
        88,  86,  84,  86,  87,  89,  91,  92,  94,  95,  96,  97,  98,  98,  99,  99,
        90,  88,  87,  88,  89,  90,  92,  93,  95,  96,  97,  97,  98,  99,  99,  99,
        92,  91,  89,  90,  91,  92,  93,  94,  96,  96,  97,  98,  99,  99, 100, 100,
        92,  91,  89,  90,  91,  92,  93,  94,  96,  96,  97,  98,  99,  99, 100, 100,

        /*Size 32 x 32*/
        64,  62,  60,  57,  55,  56,  57,  57,  58,  60,  62,  64,  66,  68,  71,  73,
        62,  60,  59,  58,  56,  57,  57,  57,  58,  60,  62,  64,  65,  68,  70,  72,
        60,  59,  59,  58,  57,  58,  58,  58,  58,  60,  61,  63,  65,  67,  69,  71,
        57,  58,  58,  58,  58,  58,  58,  58,  58,  59,  61,  62,  64,  66,  68,  70,
        55,  56,  57,  58,  60,  59,  59,  58,  58,  59,  61,  62,  63,  65,  67,  69,
        56,  57,  58,  58,  59,  60,  60,  60,  61,  62,  63,  64,  66,  67,  69,  71,
        57,  57,  58,  58,  59,  60,  61,  62,  63,  64,  66,  67,  68,  70,  71,  73,
        57,  57,  58,  58,  58,  60,  62,  64,  66,  67,  68,  69,  71,  72,  73,  75,
        58,  58,  58,  58,  58,  61,  63,  66,  69,  70,  71,  72,  73,  74,  76,  77,
        60,  60,  60,  59,  59,  62,  64,  67,  70,  71,  72,  74,  75,  76,  77,  78,
        62,  62,  61,  61,  61,  63,  66,  68,  71,  72,  74,  75,  77,  78,  79,  80,
        64,  64,  63,  62,  62,  64,  67,  69,  72,  74,  75,  77,  78,  79,  80,  82,
        66,  65,  65,  64,  63,  66,  68,  71,  73,  75,  77,  78,  80,  81,  82,  83,
        68,  68,  67,  66,  65,  67,  70,  72,  74,  76,  78,  79,  81,  82,  83,  84,
        71,  70,  69,  68,  67,  69,  71,  73,  76,  77,  79,  80,  82,  83,  84,  85,
        73,  72,  71,  70,  69,  71,  73,  75,  77,  78,  80,  82,  83,  84,  85,  86,

        /*Size 64 x 64*/
        64,  63,  62,  61,  60,  59,  57,  56,  55,  56,  56,  56,  57,  57,  57,  57,
        63,  62,  61,  60,  59,  58,  58,  57,  56,  56,  56,  57,  57,  57,  57,  58,
        62,  61,  60,  60,  59,  58,  58,  57,  56,  57,  57,  57,  57,  57,  57,  58,
        61,  60,  60,  59,  59,  58,  58,  57,  57,  57,  57,  57,  57,  57,  58,  58,
        60,  59,  59,  59,  59,  58,  58,  58,  57,  57,  58,  58,  58,  58,  58,  58,
        59,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,
        57,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,
        56,  57,  57,  57,  58,  58,  58,  59,  59,  59,  59,  59,  58,  58,  58,  58,
        55,  56,  56,  57,  57,  58,  58,  59,  60,  59,  59,  59,  59,  59,  58,  58,
        56,  56,  57,  57,  57,  58,  58,  59,  59,  59,  59,  59,  59,  59,  59,  59,
        56,  56,  57,  57,  58,  58,  58,  59,  59,  59,  60,  60,  60,  60,  60,  60,
        56,  57,  57,  57,  58,  58,  58,  59,  59,  59,  60,  60,  60,  61,  61,  62,
        57,  57,  57,  57,  58,  58,  58,  58,  59,  59,  60,  60,  61,  62,  62,  63,
        57,  57,  57,  57,  58,  58,  58,  58,  59,  59,  60,  61,  62,  62,  63,  64,
        57,  57,  57,  58,  58,  58,  58,  58,  58,  59,  60,  61,  62,  63,  64,  65,
        57,  58,  58,  58,  58,  58,  58,  58,  58,  59,  60,  62,  63,  64,  65,  66,

        /*Size 128 x 128*/
        64,  63,  63,  62,  62,  61,  61,  60,  60,  59,  59,  58,  57,  57,  56,  56,
        63,  63,  62,  62,  61,  61,  60,  60,  59,  59,  58,  58,  58,  57,  57,  56,
        63,  62,  62,  62,  61,  61,  60,  60,  59,  59,  58,  58,  58,  57,  57,  56,
        62,  62,  62,  61,  61,  60,  60,  60,  59,  59,  58,  58,  58,  57,  57,  56,
        62,  61,  61,  61,  60,  60,  60,  59,  59,  59,  58,  58,  58,  57,  57,  57,
        61,  61,  61,  60,  60,  60,  60,  59,  59,  59,  58,  58,  58,  57,  57,  57,
        61,  60,  60,  60,  60,  60,  59,  59,  59,  59,  58,  58,  58,  58,  57,  57,
        60,  60,  60,  60,  59,  59,  59,  59,  59,  58,  58,  58,  58,  58,  57,  57,
        60,  59,  59,  59,  59,  59,  59,  59,  59,  58,  58,  58,  58,  58,  58,  58,
        59,  59,  59,  59,  59,  59,  59,  58,  58,  58,  58,  58,  58,  58,  58,  58,
        59,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,
        58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,
        57,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,  58,
        57,  57,  57,  57,  57,  57,  58,  58,  58,  58,  58,  58,  58,  58,  58,  59,
        56,  57,  57,  57,  57,  57,  57,  57,  58,  58,  58,  58,  58,  58,  59,  59,
        56,  56,  56,  56,  57,  57,  57,  57,  58,  58,  58,  58,  58,  59,  59,  59

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        37,  40,  55,  69,  40,  52,  62,  72,  55,  62,  73,  79,  69,  72,  79,  83,

        /*Size 8 x 8*/
        42,  35,  37,  44,  53,  62,  69,  74,  35,  38,  37,  41,  49,  56,  64,  70,
        37,  37,  47,  51,  56,  62,  67,  72,  44,  41,  51,  59,  64,  68,  72,  75,
        53,  49,  56,  64,  69,  73,  76,  79,  62,  56,  62,  68,  73,  77,  79,  81,
        69,  64,  67,  72,  76,  79,  82,  83,  74,  70,  72,  75,  79,  81,  83,  85,

        /*Size 16 x 16*/
        42,  38,  35,  36,  37,  41,  44,  49,  53,  57,  62,  65,  69,  71,  74,  74,
        38,  37,  36,  37,  37,  40,  43,  47,  51,  55,  59,  62,  66,  69,  72,  72,
        35,  36,  38,  38,  37,  39,  41,  45,  49,  52,  56,  60,  64,  67,  70,  70,
        36,  37,  38,  40,  42,  44,  46,  49,  52,  56,  59,  62,  65,  68,  71,  71,
        37,  37,  37,  42,  47,  49,  51,  54,  56,  59,  62,  65,  67,  70,  72,  72,
        41,  40,  39,  44,  49,  52,  55,  57,  60,  62,  65,  67,  70,  72,  74,  74,
        44,  43,  41,  46,  51,  55,  59,  61,  64,  66,  68,  70,  72,  74,  75,  75,
        49,  47,  45,  49,  54,  57,  61,  64,  66,  68,  70,  72,  74,  75,  77,  77,
        53,  51,  49,  52,  56,  60,  64,  66,  69,  71,  73,  74,  76,  77,  79,  79,
        57,  55,  52,  56,  59,  62,  66,  68,  71,  73,  75,  76,  78,  79,  80,  80,
        62,  59,  56,  59,  62,  65,  68,  70,  73,  75,  77,  78,  79,  80,  81,  81,
        65,  62,  60,  62,  65,  67,  70,  72,  74,  76,  78,  79,  80,  81,  82,  82,
        69,  66,  64,  65,  67,  70,  72,  74,  76,  78,  79,  80,  82,  82,  83,  83,
        71,  69,  67,  68,  70,  72,  74,  75,  77,  79,  80,  81,  82,  83,  84,  84,
        74,  72,  70,  71,  72,  74,  75,  77,  79,  80,  81,  82,  83,  84,  85,  85,
        74,  72,  70,  71,  72,  74,  75,  77,  79,  80,  81,  82,  83,  84,  85,  85,

        /*Size 32 x 32*/
        42,  40,  38,  36,  35,  35,  36,  36,  37,  39,  41,  42,  44,  47,  49,  51,
        40,  39,  38,  37,  35,  36,  36,  36,  37,  38,  40,  42,  44,  46,  48,  50,
        38,  38,  37,  37,  36,  37,  37,  37,  37,  38,  40,  41,  43,  45,  47,  49,
        36,  37,  37,  37,  37,  37,  37,  37,  37,  38,  39,  41,  42,  44,  46,  48,
        35,  35,  36,  37,  38,  38,  38,  37,  37,  38,  39,  40,  41,  43,  45,  47,
        35,  36,  37,  37,  38,  38,  39,  39,  39,  40,  42,  43,  44,  45,  47,  49,
        36,  36,  37,  37,  38,  39,  40,  41,  42,  43,  44,  45,  46,  48,  49,  51,
        36,  36,  37,  37,  37,  39,  41,  42,  44,  45,  46,  48,  49,  50,  51,  53,
        37,  37,  37,  37,  37,  39,  42,  44,  47,  48,  49,  50,  51,  52,  54,  55,
        39,  38,  38,  38,  38,  40,  43,  45,  48,  49,  50,  52,  53,  54,  56,  57,
        41,  40,  40,  39,  39,  42,  44,  46,  49,  50,  52,  53,  55,  56,  57,  59,
        42,  42,  41,  41,  40,  43,  45,  48,  50,  52,  53,  55,  57,  58,  59,  61,
        44,  44,  43,  42,  41,  44,  46,  49,  51,  53,  55,  57,  59,  60,  61,  63,
        47,  46,  45,  44,  43,  45,  48,  50,  52,  54,  56,  58,  60,  61,  63,  64,
        49,  48,  47,  46,  45,  47,  49,  51,  54,  56,  57,  59,  61,  63,  64,  65,
        51,  50,  49,  48,  47,  49,  51,  53,  55,  57,  59,  61,  63,  64,  65,  66,

        /*Size 64 x 64*/
        42,  41,  40,  39,  38,  37,  36,  35,  35,  35,  35,  35,  36,  36,  36,  36,
        41,  40,  40,  39,  38,  37,  37,  36,  35,  35,  35,  36,  36,  36,  36,  37,
        40,  40,  39,  38,  38,  37,  37,  36,  35,  36,  36,  36,  36,  36,  36,  37,
        39,  39,  38,  38,  38,  37,  37,  36,  36,  36,  36,  36,  36,  36,  37,  37,
        38,  38,  38,  38,  37,  37,  37,  37,  36,  36,  37,  37,  37,  37,  37,  37,
        37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,
        36,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,
        35,  36,  36,  36,  37,  37,  37,  37,  38,  38,  38,  37,  37,  37,  37,  37,
        35,  35,  35,  36,  36,  37,  37,  38,  38,  38,  38,  38,  38,  37,  37,  37,
        35,  35,  36,  36,  36,  37,  37,  38,  38,  38,  38,  38,  38,  38,  38,  38,
        35,  35,  36,  36,  37,  37,  37,  38,  38,  38,  38,  38,  39,  39,  39,  39,
        35,  36,  36,  36,  37,  37,  37,  37,  38,  38,  38,  39,  39,  40,  40,  40,
        36,  36,  36,  36,  37,  37,  37,  37,  38,  38,  39,  39,  40,  40,  41,  41,
        36,  36,  36,  36,  37,  37,  37,  37,  37,  38,  39,  40,  40,  41,  42,  42,
        36,  36,  36,  37,  37,  37,  37,  37,  37,  38,  39,  40,  41,  42,  42,  43,
        36,  37,  37,  37,  37,  37,  37,  37,  37,  38,  39,  40,  41,  42,  43,  44,

        /*Size 128 x 128*/
        42,  42,  41,  41,  40,  40,  39,  39,  38,  38,  37,  37,  36,  36,  35,  35,
        42,  41,  41,  40,  40,  40,  39,  39,  38,  38,  37,  37,  36,  36,  36,  35,
        41,  41,  40,  40,  40,  39,  39,  39,  38,  38,  37,  37,  37,  36,  36,  35,
        41,  40,  40,  40,  39,  39,  39,  38,  38,  38,  37,  37,  37,  36,  36,  36,
        40,  40,  40,  39,  39,  39,  38,  38,  38,  38,  37,  37,  37,  36,  36,  36,
        40,  40,  39,  39,  39,  39,  38,  38,  38,  37,  37,  37,  37,  36,  36,  36,
        39,  39,  39,  39,  38,  38,  38,  38,  38,  37,  37,  37,  37,  37,  36,  36,
        39,  39,  39,  38,  38,  38,  38,  38,  38,  37,  37,  37,  37,  37,  36,  36,
        38,  38,  38,  38,  38,  38,  38,  38,  37,  37,  37,  37,  37,  37,  37,  37,
        38,  38,  38,  38,  38,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,
        37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,
        37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,
        36,  36,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,
        36,  36,  36,  36,  36,  36,  37,  37,  37,  37,  37,  37,  37,  37,  37,  37,
        35,  36,  36,  36,  36,  36,  36,  36,  37,  37,  37,  37,  37,  37,  37,  38,
        35,  35,  35,  36,  36,  36,  36,  36,  37,  37,  37,  37,  37,  37,  38,  38

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        61,  79,  82,  92,  79,  86,  89,  95,  82,  89, 100, 105,  92,  95, 105, 112,

        /*Size 8 x 8*/
        64,  56,  80,  81,  84,  88,  94,  99,  56,  70,  79,  75,  76,  80,  85,  91,
        80,  79,  86,  84,  84,  86,  90,  94,  81,  75,  84,  90,  92,  94,  96,  99,
        84,  76,  84,  92,  96,  99, 102, 104,  88,  80,  86,  94,  99, 103, 106, 108,
        94,  85,  90,  96, 102, 106, 109, 112,  99,  91,  94,  99, 104, 108, 112, 114,

        /*Size 16 x 16*/
        64,  60,  56,  68,  80,  80,  81,  82,  84,  86,  88,  91,  94,  96,  99,  99,
        60,  61,  63,  71,  79,  79,  78,  79,  80,  82,  84,  87,  89,  92,  95,  95,
        56,  63,  70,  75,  79,  77,  75,  75,  76,  78,  80,  83,  85,  88,  91,  91,
        68,  71,  75,  79,  82,  81,  80,  80,  80,  82,  83,  85,  88,  90,  92,  92,
        80,  79,  79,  82,  86,  85,  84,  84,  84,  85,  86,  88,  90,  92,  94,  94,
        80,  79,  77,  81,  85,  86,  87,  87,  88,  89,  90,  91,  93,  95,  97,  97,
        81,  78,  75,  80,  84,  87,  90,  91,  92,  93,  94,  95,  96,  98,  99,  99,
        82,  79,  75,  80,  84,  87,  91,  92,  94,  95,  96,  98,  99, 100, 102, 102,
        84,  80,  76,  80,  84,  88,  92,  94,  96,  98,  99, 100, 102, 103, 104, 104,
        86,  82,  78,  82,  85,  89,  93,  95,  98, 100, 101, 103, 104, 105, 106, 106,
        88,  84,  80,  83,  86,  90,  94,  96,  99, 101, 103, 105, 106, 107, 108, 108,
        91,  87,  83,  85,  88,  91,  95,  98, 100, 103, 105, 106, 108, 109, 110, 110,
        94,  89,  85,  88,  90,  93,  96,  99, 102, 104, 106, 108, 109, 110, 112, 112,
        96,  92,  88,  90,  92,  95,  98, 100, 103, 105, 107, 109, 110, 112, 113, 113,
        99,  95,  91,  92,  94,  97,  99, 102, 104, 106, 108, 110, 112, 113, 114, 114,
        99,  95,  91,  92,  94,  97,  99, 102, 104, 106, 108, 110, 112, 113, 114, 114,

        /*Size 32 x 32*/
        64,  62,  60,  58,  56,  62,  68,  74,  80,  80,  80,  81,  81,  81,  82,  83,
        62,  61,  61,  60,  59,  64,  69,  75,  80,  79,  79,  79,  79,  80,  80,  81,
        60,  61,  61,  62,  63,  67,  71,  75,  79,  79,  79,  78,  78,  78,  79,  79,
        58,  60,  62,  64,  67,  70,  73,  76,  79,  78,  78,  77,  76,  77,  77,  77,
        56,  59,  63,  67,  70,  72,  75,  77,  79,  78,  77,  76,  75,  75,  75,  76,
        62,  64,  67,  70,  72,  75,  77,  79,  81,  80,  79,  78,  77,  77,  78,  78,
        68,  69,  71,  73,  75,  77,  79,  80,  82,  82,  81,  80,  80,  80,  80,  80,
        74,  75,  75,  76,  77,  79,  80,  82,  84,  84,  83,  82,  82,  82,  82,  82,
        80,  80,  79,  79,  79,  81,  82,  84,  86,  85,  85,  85,  84,  84,  84,  84,
        80,  79,  79,  78,  78,  80,  82,  84,  85,  85,  85,  86,  86,  86,  86,  86,
        80,  79,  79,  78,  77,  79,  81,  83,  85,  85,  86,  86,  87,  87,  87,  88,
        81,  79,  78,  77,  76,  78,  80,  82,  85,  86,  86,  87,  88,  89,  89,  89,
        81,  79,  78,  76,  75,  77,  80,  82,  84,  86,  87,  88,  90,  90,  91,  91,
        81,  80,  78,  77,  75,  77,  80,  82,  84,  86,  87,  89,  90,  91,  91,  92,
        82,  80,  79,  77,  75,  78,  80,  82,  84,  86,  87,  89,  91,  91,  92,  93,
        83,  81,  79,  77,  76,  78,  80,  82,  84,  86,  88,  89,  91,  92,  93,  94,

        /*Size 64 x 64*/
        64,  63,  62,  61,  60,  59,  58,  57,  56,  59,  62,  65,  68,  71,  74,  77,
        63,  62,  62,  61,  60,  60,  59,  58,  58,  60,  63,  66,  69,  71,  74,  77,
        62,  62,  61,  61,  61,  60,  60,  60,  59,  62,  64,  67,  69,  72,  75,  77,
        61,  61,  61,  61,  61,  61,  61,  61,  61,  63,  66,  68,  70,  73,  75,  77,
        60,  60,  61,  61,  61,  62,  62,  63,  63,  65,  67,  69,  71,  73,  75,  77,
        59,  60,  60,  61,  62,  63,  63,  64,  65,  67,  68,  70,  72,  74,  76,  77,
        58,  59,  60,  61,  62,  63,  64,  66,  67,  68,  70,  71,  73,  74,  76,  78,
        57,  58,  60,  61,  63,  64,  66,  67,  68,  70,  71,  72,  74,  75,  76,  78,
        56,  58,  59,  61,  63,  65,  67,  68,  70,  71,  72,  74,  75,  76,  77,  78,
        59,  60,  62,  63,  65,  67,  68,  70,  71,  72,  73,  75,  76,  77,  78,  79,
        62,  63,  64,  66,  67,  68,  70,  71,  72,  73,  75,  76,  77,  78,  79,  80,
        65,  66,  67,  68,  69,  70,  71,  72,  74,  75,  76,  77,  78,  79,  80,  81,
        68,  69,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  79,  80,  81,
        71,  71,  72,  73,  73,  74,  74,  75,  76,  77,  78,  79,  79,  80,  81,  82,
        74,  74,  75,  75,  75,  76,  76,  76,  77,  78,  79,  80,  80,  81,  82,  83,
        77,  77,  77,  77,  77,  77,  78,  78,  78,  79,  80,  81,  81,  82,  83,  84,

        /*Size 128 x 128*/
        64,  63,  63,  62,  62,  61,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,
        63,  63,  63,  62,  62,  61,  61,  60,  60,  60,  59,  59,  58,  58,  58,  57,
        63,  63,  62,  62,  62,  61,  61,  61,  60,  60,  60,  59,  59,  59,  58,  58,
        62,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,  59,  59,  59,  59,
        62,  62,  62,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  60,  60,  60,
        61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        60,  60,  61,  61,  61,  61,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,
        60,  60,  60,  60,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  63,  63,
        59,  60,  60,  60,  60,  61,  61,  61,  62,  62,  62,  62,  63,  63,  63,  64,
        59,  59,  60,  60,  60,  61,  61,  61,  62,  62,  63,  63,  63,  64,  64,  64,
        58,  59,  59,  60,  60,  61,  61,  62,  62,  62,  63,  63,  64,  64,  65,  65,
        58,  58,  59,  59,  60,  61,  61,  62,  62,  63,  63,  64,  64,  65,  66,  66,
        57,  58,  59,  59,  60,  60,  61,  62,  62,  63,  64,  64,  65,  66,  66,  67,
        57,  58,  58,  59,  60,  60,  61,  62,  63,  63,  64,  65,  66,  66,  67,  68,
        56,  57,  58,  59,  60,  60,  61,  62,  63,  64,  64,  65,  66,  67,  68,  69

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        46,  57,  59,  65,  57,  61,  63,  67,  59,  63,  69,  72,  65,  67,  72,  76,

        /*Size 8 x 8*/
        48,  42,  58,  58,  60,  63,  66,  69,  42,  52,  57,  55,  55,  58,  61,  64,
        58,  57,  61,  60,  60,  62,  64,  66,  58,  55,  60,  64,  65,  66,  67,  69,
        60,  55,  60,  65,  68,  69,  71,  72,  63,  58,  62,  66,  69,  71,  73,  74,
        66,  61,  64,  67,  71,  73,  75,  76,  69,  64,  66,  69,  72,  74,  76,  78,

        /*Size 16 x 16*/
        48,  45,  42,  50,  58,  58,  58,  59,  60,  61,  63,  64,  66,  67,  69,  69,
        45,  46,  47,  52,  57,  57,  56,  57,  58,  59,  60,  62,  63,  65,  66,  66,
        42,  47,  52,  54,  57,  56,  55,  55,  55,  57,  58,  59,  61,  62,  64,  64,
        50,  52,  54,  57,  59,  58,  57,  58,  58,  59,  60,  61,  62,  64,  65,  65,
        58,  57,  57,  59,  61,  61,  60,  60,  60,  61,  62,  63,  64,  65,  66,  66,
        58,  57,  56,  58,  61,  61,  62,  62,  63,  63,  64,  65,  66,  67,  68,  68,
        58,  56,  55,  57,  60,  62,  64,  64,  65,  65,  66,  67,  67,  68,  69,  69,
        59,  57,  55,  58,  60,  62,  64,  65,  66,  67,  67,  68,  69,  70,  70,  70,
        60,  58,  55,  58,  60,  63,  65,  66,  68,  68,  69,  70,  71,  71,  72,  72,
        61,  59,  57,  59,  61,  63,  65,  67,  68,  69,  70,  71,  72,  72,  73,  73,
        63,  60,  58,  60,  62,  64,  66,  67,  69,  70,  71,  72,  73,  74,  74,  74,
        64,  62,  59,  61,  63,  65,  67,  68,  70,  71,  72,  73,  74,  75,  75,  75,
        66,  63,  61,  62,  64,  66,  67,  69,  71,  72,  73,  74,  75,  75,  76,  76,
        67,  65,  62,  64,  65,  67,  68,  70,  71,  72,  74,  75,  75,  76,  77,  77,
        69,  66,  64,  65,  66,  68,  69,  70,  72,  73,  74,  75,  76,  77,  78,  78,
        69,  66,  64,  65,  66,  68,  69,  70,  72,  73,  74,  75,  76,  77,  78,  78,

        /*Size 32 x 32*/
        48,  46,  45,  43,  42,  46,  50,  54,  58,  58,  58,  58,  58,  58,  59,  59,
        46,  46,  45,  45,  44,  48,  51,  54,  57,  57,  57,  57,  57,  58,  58,  58,
        45,  45,  46,  46,  47,  49,  52,  55,  57,  57,  57,  57,  56,  57,  57,  57,
        43,  45,  46,  48,  49,  51,  53,  55,  57,  57,  56,  56,  55,  56,  56,  56,
        42,  44,  47,  49,  52,  53,  54,  56,  57,  56,  56,  55,  55,  55,  55,  55,
        46,  48,  49,  51,  53,  54,  55,  57,  58,  58,  57,  56,  56,  56,  56,  56,
        50,  51,  52,  53,  54,  55,  57,  58,  59,  59,  58,  58,  57,  57,  58,  58,
        54,  54,  55,  55,  56,  57,  58,  59,  60,  60,  60,  59,  59,  59,  59,  59,
        58,  57,  57,  57,  57,  58,  59,  60,  61,  61,  61,  61,  60,  60,  60,  60,
        58,  57,  57,  57,  56,  58,  59,  60,  61,  61,  61,  61,  61,  61,  61,  61,
        58,  57,  57,  56,  56,  57,  58,  60,  61,  61,  61,  62,  62,  62,  62,  62,
        58,  57,  57,  56,  55,  56,  58,  59,  61,  61,  62,  62,  63,  63,  63,  63,
        58,  57,  56,  55,  55,  56,  57,  59,  60,  61,  62,  63,  64,  64,  64,  64,
        58,  58,  57,  56,  55,  56,  57,  59,  60,  61,  62,  63,  64,  64,  65,  65,
        59,  58,  57,  56,  55,  56,  58,  59,  60,  61,  62,  63,  64,  65,  65,  66,
        59,  58,  57,  56,  55,  56,  58,  59,  60,  61,  62,  63,  64,  65,  66,  66,

        /*Size 64 x 64*/
        48,  47,  46,  45,  45,  44,  43,  43,  42,  44,  46,  48,  50,  52,  54,  56,
        47,  46,  46,  45,  45,  45,  44,  44,  43,  45,  47,  49,  50,  52,  54,  56,
        46,  46,  46,  45,  45,  45,  45,  45,  44,  46,  48,  49,  51,  53,  54,  56,
        45,  45,  45,  45,  46,  46,  46,  46,  46,  47,  49,  50,  51,  53,  54,  56,
        45,  45,  45,  46,  46,  46,  46,  47,  47,  48,  49,  51,  52,  53,  55,  56,
        44,  45,  45,  46,  46,  46,  47,  47,  48,  49,  50,  51,  53,  54,  55,  56,
        43,  44,  45,  46,  46,  47,  48,  48,  49,  50,  51,  52,  53,  54,  55,  56,
        43,  44,  45,  46,  47,  47,  48,  49,  50,  51,  52,  53,  54,  55,  55,  56,
        42,  43,  44,  46,  47,  48,  49,  50,  52,  52,  53,  54,  54,  55,  56,  56,
        44,  45,  46,  47,  48,  49,  50,  51,  52,  53,  54,  54,  55,  56,  56,  57,
        46,  47,  48,  49,  49,  50,  51,  52,  53,  54,  54,  55,  55,  56,  57,  57,
        48,  49,  49,  50,  51,  51,  52,  53,  54,  54,  55,  55,  56,  57,  57,  58,
        50,  50,  51,  51,  52,  53,  53,  54,  54,  55,  55,  56,  57,  57,  58,  59,
        52,  52,  53,  53,  53,  54,  54,  55,  55,  56,  56,  57,  57,  58,  58,  59,
        54,  54,  54,  54,  55,  55,  55,  55,  56,  56,  57,  57,  58,  58,  59,  60,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  57,  57,  58,  59,  59,  60,  60,

        /*Size 128 x 128*/
        48,  47,  47,  46,  46,  46,  45,  45,  45,  44,  44,  44,  43,  43,  43,  42,
        47,  47,  47,  46,  46,  46,  45,  45,  45,  45,  44,  44,  44,  43,  43,  43,
        47,  47,  46,  46,  46,  46,  45,  45,  45,  45,  45,  44,  44,  44,  44,  43,
        46,  46,  46,  46,  46,  46,  45,  45,  45,  45,  45,  45,  44,  44,  44,  44,
        46,  46,  46,  46,  46,  46,  45,  45,  45,  45,  45,  45,  45,  45,  45,  44,
        46,  46,  46,  46,  46,  46,  45,  45,  45,  45,  45,  45,  45,  45,  45,  45,
        45,  45,  45,  45,  45,  45,  45,  45,  46,  46,  46,  46,  46,  46,  46,  46,
        45,  45,  45,  45,  45,  45,  45,  46,  46,  46,  46,  46,  46,  46,  46,  46,
        45,  45,  45,  45,  45,  45,  46,  46,  46,  46,  46,  46,  46,  46,  47,  47,
        44,  45,  45,  45,  45,  45,  46,  46,  46,  46,  46,  46,  47,  47,  47,  47,
        44,  44,  45,  45,  45,  45,  46,  46,  46,  46,  46,  47,  47,  47,  47,  48,
        44,  44,  44,  45,  45,  45,  46,  46,  46,  46,  47,  47,  47,  48,  48,  48,
        43,  44,  44,  44,  45,  45,  46,  46,  46,  47,  47,  47,  48,  48,  48,  49,
        43,  43,  44,  44,  45,  45,  46,  46,  46,  47,  47,  48,  48,  48,  49,  49,
        43,  43,  44,  44,  45,  45,  46,  46,  47,  47,  47,  48,  48,  49,  49,  50,
        42,  43,  43,  44,  44,  45,  46,  46,  47,  47,  48,  48,  49,  49,  50,  50

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        61,  82,  86,  96,  82,  90,  93,  99,  86,  93, 104, 109,  96,  99, 109, 116,

        /*Size 8 x 8*/
        64,  56,  81,  85,  88,  93,  98, 103,  56,  71,  83,  79,  80,  84,  89,  95,
        81,  83,  90,  88,  88,  91,  94,  99,  85,  79,  88,  94,  96,  98, 100, 104,
        88,  80,  88,  96, 101, 104, 106, 109,  93,  84,  91,  98, 104, 108, 111, 113,
        98,  89,  94, 100, 106, 111, 114, 116, 103,  95,  99, 104, 109, 113, 116, 119,

        /*Size 16 x 16*/
        64,  60,  56,  68,  81,  83,  85,  86,  88,  90,  93,  95,  98, 101, 103, 103,
        60,  61,  63,  72,  82,  82,  82,  83,  84,  86,  88,  91,  94,  96,  99,  99,
        56,  63,  71,  77,  83,  81,  79,  79,  80,  82,  84,  87,  89,  92,  95,  95,
        68,  72,  77,  81,  86,  85,  83,  84,  84,  86,  87,  89,  92,  94,  97,  97,
        81,  82,  83,  86,  90,  89,  88,  88,  88,  89,  91,  92,  94,  96,  99,  99,
        83,  82,  81,  85,  89,  90,  91,  92,  92,  93,  94,  96,  97,  99, 101, 101,
        85,  82,  79,  83,  88,  91,  94,  95,  96,  97,  98,  99, 100, 102, 104, 104,
        86,  83,  79,  84,  88,  92,  95,  96,  98,  99, 101, 102, 103, 105, 106, 106,
        88,  84,  80,  84,  88,  92,  96,  98, 101, 102, 104, 105, 106, 107, 109, 109,
        90,  86,  82,  86,  89,  93,  97,  99, 102, 104, 106, 107, 108, 109, 111, 111,
        93,  88,  84,  87,  91,  94,  98, 101, 104, 106, 108, 109, 111, 112, 113, 113,
        95,  91,  87,  89,  92,  96,  99, 102, 105, 107, 109, 111, 112, 113, 114, 114,
        98,  94,  89,  92,  94,  97, 100, 103, 106, 108, 111, 112, 114, 115, 116, 116,
        101,  96,  92,  94,  96,  99, 102, 105, 107, 109, 112, 113, 115, 116, 117, 117,
        103,  99,  95,  97,  99, 101, 104, 106, 109, 111, 113, 114, 116, 117, 119, 119,
        103,  99,  95,  97,  99, 101, 104, 106, 109, 111, 113, 114, 116, 117, 119, 119,

        /*Size 32 x 32*/
        64,  62,  60,  58,  56,  62,  68,  74,  81,  82,  83,  84,  85,  85,  86,  87,
        62,  61,  61,  60,  59,  65,  70,  76,  81,  82,  82,  83,  83,  84,  84,  85,
        60,  61,  61,  62,  63,  68,  72,  77,  82,  82,  82,  82,  82,  82,  83,  83,
        58,  60,  62,  64,  67,  71,  74,  78,  82,  82,  81,  81,  80,  80,  81,  81,
        56,  59,  63,  67,  71,  74,  77,  80,  83,  82,  81,  80,  79,  79,  79,  79,
        62,  65,  68,  71,  74,  76,  79,  82,  85,  84,  83,  82,  81,  81,  81,  82,
        68,  70,  72,  74,  77,  79,  81,  84,  86,  86,  85,  84,  83,  84,  84,  84,
        74,  76,  77,  78,  80,  82,  84,  86,  88,  87,  87,  86,  86,  86,  86,  86,
        81,  81,  82,  82,  83,  85,  86,  88,  90,  89,  89,  89,  88,  88,  88,  88,
        82,  82,  82,  82,  82,  84,  86,  87,  89,  89,  90,  90,  90,  90,  90,  90,
        83,  82,  82,  81,  81,  83,  85,  87,  89,  90,  90,  91,  91,  91,  92,  92,
        84,  83,  82,  81,  80,  82,  84,  86,  89,  90,  91,  91,  92,  93,  93,  94,
        85,  83,  82,  80,  79,  81,  83,  86,  88,  90,  91,  92,  94,  94,  95,  95,
        85,  84,  82,  80,  79,  81,  84,  86,  88,  90,  91,  93,  94,  95,  96,  96,
        86,  84,  83,  81,  79,  81,  84,  86,  88,  90,  92,  93,  95,  96,  96,  97,
        87,  85,  83,  81,  79,  82,  84,  86,  88,  90,  92,  94,  95,  96,  97,  98,

        /*Size 64 x 64*/
        64,  63,  62,  61,  60,  59,  58,  57,  56,  59,  62,  65,  68,  71,  74,  77,
        63,  62,  62,  61,  60,  59,  59,  58,  57,  60,  63,  66,  69,  72,  75,  78,
        62,  62,  61,  61,  61,  60,  60,  60,  59,  62,  65,  67,  70,  73,  76,  78,
        61,  61,  61,  61,  61,  61,  61,  61,  61,  64,  66,  69,  71,  74,  76,  79,
        60,  60,  61,  61,  61,  62,  62,  63,  63,  65,  68,  70,  72,  75,  77,  79,
        59,  59,  60,  61,  62,  63,  63,  64,  65,  67,  69,  71,  73,  76,  78,  80,
        58,  59,  60,  61,  62,  63,  64,  66,  67,  69,  71,  73,  74,  76,  78,  80,
        57,  58,  60,  61,  63,  64,  66,  67,  69,  70,  72,  74,  76,  77,  79,  81,
        56,  57,  59,  61,  63,  65,  67,  69,  71,  72,  74,  75,  77,  78,  80,  81,
        59,  60,  62,  64,  65,  67,  69,  70,  72,  73,  75,  76,  78,  79,  81,  82,
        62,  63,  65,  66,  68,  69,  71,  72,  74,  75,  76,  78,  79,  80,  82,  83,
        65,  66,  67,  69,  70,  71,  73,  74,  75,  76,  78,  79,  80,  82,  83,  84,
        68,  69,  70,  71,  72,  73,  74,  76,  77,  78,  79,  80,  81,  83,  84,  85,
        71,  72,  73,  74,  75,  76,  76,  77,  78,  79,  80,  82,  83,  84,  85,  86,
        74,  75,  76,  76,  77,  78,  78,  79,  80,  81,  82,  83,  84,  85,  86,  87,
        77,  78,  78,  79,  79,  80,  80,  81,  81,  82,  83,  84,  85,  86,  87,  88,

        /*Size 128 x 128*/
        64,  63,  63,  62,  62,  61,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,
        63,  63,  63,  62,  62,  61,  61,  60,  60,  60,  59,  59,  58,  58,  57,  57,
        63,  63,  62,  62,  62,  61,  61,  61,  60,  60,  59,  59,  59,  58,  58,  58,
        62,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,  59,  59,  59,  59,
        62,  62,  62,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  59,
        61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,
        61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        60,  60,  61,  61,  61,  61,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,
        60,  60,  60,  60,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  63,  63,
        59,  60,  60,  60,  60,  61,  61,  61,  62,  62,  62,  62,  63,  63,  63,  64,
        59,  59,  59,  60,  60,  61,  61,  61,  62,  62,  63,  63,  63,  64,  64,  64,
        58,  59,  59,  60,  60,  61,  61,  62,  62,  62,  63,  63,  64,  64,  65,  65,
        58,  58,  59,  59,  60,  60,  61,  62,  62,  63,  63,  64,  64,  65,  66,  66,
        57,  58,  58,  59,  60,  60,  61,  62,  62,  63,  64,  64,  65,  66,  66,  67,
        57,  57,  58,  59,  60,  60,  61,  62,  63,  63,  64,  65,  66,  66,  67,  68,
        56,  57,  58,  59,  59,  60,  61,  62,  63,  64,  64,  65,  66,  67,  68,  69

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        44,  57,  59,  65,  57,  62,  63,  67,  59,  63,  69,  72,  65,  67,  72,  76,

        /*Size 8 x 8*/
        46,  40,  56,  59,  60,  63,  66,  69,  40,  50,  57,  55,  56,  58,  61,  64,
        56,  57,  62,  61,  61,  62,  64,  66,  59,  55,  61,  64,  65,  66,  67,  69,
        60,  56,  61,  65,  68,  69,  71,  72,  63,  58,  62,  66,  69,  71,  73,  74,
        66,  61,  64,  67,  71,  73,  75,  76,  69,  64,  66,  69,  72,  74,  76,  77,

        /*Size 16 x 16*/
        46,  43,  40,  48,  56,  57,  59,  59,  60,  62,  63,  65,  66,  68,  69,  69,
        43,  44,  45,  51,  57,  57,  57,  57,  58,  59,  61,  62,  64,  65,  67,  67,
        40,  45,  50,  54,  57,  56,  55,  55,  56,  57,  58,  60,  61,  63,  64,  64,
        48,  51,  54,  56,  59,  59,  58,  58,  58,  59,  60,  61,  62,  64,  65,  65,
        56,  57,  57,  59,  62,  61,  61,  61,  61,  61,  62,  63,  64,  65,  66,  66,
        57,  57,  56,  59,  61,  62,  62,  62,  63,  63,  64,  65,  66,  67,  68,  68,
        59,  57,  55,  58,  61,  62,  64,  64,  65,  65,  66,  67,  67,  68,  69,  69,
        59,  57,  55,  58,  61,  62,  64,  65,  66,  67,  68,  68,  69,  70,  70,  70,
        60,  58,  56,  58,  61,  63,  65,  66,  68,  68,  69,  70,  71,  71,  72,  72,
        62,  59,  57,  59,  61,  63,  65,  67,  68,  69,  70,  71,  72,  72,  73,  73,
        63,  61,  58,  60,  62,  64,  66,  68,  69,  70,  71,  72,  73,  73,  74,  74,
        65,  62,  60,  61,  63,  65,  67,  68,  70,  71,  72,  73,  74,  74,  75,  75,
        66,  64,  61,  62,  64,  66,  67,  69,  71,  72,  73,  74,  75,  75,  76,  76,
        68,  65,  63,  64,  65,  67,  68,  70,  71,  72,  73,  74,  75,  76,  77,  77,
        69,  67,  64,  65,  66,  68,  69,  70,  72,  73,  74,  75,  76,  77,  77,  77,
        69,  67,  64,  65,  66,  68,  69,  70,  72,  73,  74,  75,  76,  77,  77,  77,

        /*Size 32 x 32*/
        46,  44,  43,  42,  40,  44,  48,  52,  56,  57,  57,  58,  59,  59,  59,  60,
        44,  44,  44,  43,  43,  46,  49,  53,  56,  57,  57,  57,  58,  58,  58,  59,
        43,  44,  44,  45,  45,  48,  51,  54,  57,  57,  57,  57,  57,  57,  57,  57,
        42,  43,  45,  46,  47,  50,  52,  55,  57,  57,  56,  56,  56,  56,  56,  56,
        40,  43,  45,  47,  50,  52,  54,  55,  57,  57,  56,  55,  55,  55,  55,  55,
        44,  46,  48,  50,  52,  53,  55,  57,  58,  58,  57,  57,  56,  56,  56,  57,
        48,  49,  51,  52,  54,  55,  56,  58,  59,  59,  59,  58,  58,  58,  58,  58,
        52,  53,  54,  55,  55,  57,  58,  59,  60,  60,  60,  59,  59,  59,  59,  59,
        56,  56,  57,  57,  57,  58,  59,  60,  62,  61,  61,  61,  61,  61,  61,  61,
        57,  57,  57,  57,  57,  58,  59,  60,  61,  61,  61,  61,  61,  61,  61,  61,
        57,  57,  57,  56,  56,  57,  59,  60,  61,  61,  62,  62,  62,  62,  62,  62,
        58,  57,  57,  56,  55,  57,  58,  59,  61,  61,  62,  62,  63,  63,  63,  63,
        59,  58,  57,  56,  55,  56,  58,  59,  61,  61,  62,  63,  64,  64,  64,  64,
        59,  58,  57,  56,  55,  56,  58,  59,  61,  61,  62,  63,  64,  64,  65,  65,
        59,  58,  57,  56,  55,  56,  58,  59,  61,  61,  62,  63,  64,  65,  65,  66,
        60,  59,  57,  56,  55,  57,  58,  59,  61,  61,  62,  63,  64,  65,  66,  66,

        /*Size 64 x 64*/
        46,  45,  44,  44,  43,  42,  42,  41,  40,  42,  44,  46,  48,  50,  52,  54,
        45,  45,  44,  44,  43,  43,  42,  42,  41,  43,  45,  47,  49,  51,  52,  54,
        44,  44,  44,  44,  44,  43,  43,  43,  43,  44,  46,  48,  49,  51,  53,  55,
        44,  44,  44,  44,  44,  44,  44,  44,  44,  45,  47,  49,  50,  52,  53,  55,
        43,  43,  44,  44,  44,  44,  45,  45,  45,  46,  48,  49,  51,  52,  54,  55,
        42,  43,  43,  44,  44,  45,  45,  46,  46,  48,  49,  50,  51,  53,  54,  55,
        42,  42,  43,  44,  45,  45,  46,  47,  47,  49,  50,  51,  52,  53,  55,  56,
        41,  42,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,  53,  54,  55,  56,
        40,  41,  43,  44,  45,  46,  47,  49,  50,  51,  52,  53,  54,  54,  55,  56,
        42,  43,  44,  45,  46,  48,  49,  50,  51,  52,  52,  53,  54,  55,  56,  57,
        44,  45,  46,  47,  48,  49,  50,  51,  52,  52,  53,  54,  55,  56,  57,  57,
        46,  47,  48,  49,  49,  50,  51,  52,  53,  53,  54,  55,  56,  56,  57,  58,
        48,  49,  49,  50,  51,  51,  52,  53,  54,  54,  55,  56,  56,  57,  58,  59,
        50,  51,  51,  52,  52,  53,  53,  54,  54,  55,  56,  56,  57,  58,  59,  59,
        52,  52,  53,  53,  54,  54,  55,  55,  55,  56,  57,  57,  58,  59,  59,  60,
        54,  54,  55,  55,  55,  55,  56,  56,  56,  57,  57,  58,  59,  59,  60,  60,

        /*Size 128 x 128*/
        46,  45,  45,  45,  44,  44,  44,  43,  43,  43,  42,  42,  42,  41,  41,  41,
        45,  45,  45,  45,  44,  44,  44,  43,  43,  43,  43,  42,  42,  42,  41,  41,
        45,  45,  45,  44,  44,  44,  44,  43,  43,  43,  43,  43,  42,  42,  42,  42,
        45,  45,  44,  44,  44,  44,  44,  44,  43,  43,  43,  43,  43,  43,  42,  42,
        44,  44,  44,  44,  44,  44,  44,  44,  44,  43,  43,  43,  43,  43,  43,  43,
        44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  43,  43,  43,  43,  43,
        44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,
        43,  43,  43,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,  44,
        43,  43,  43,  43,  44,  44,  44,  44,  44,  44,  44,  44,  45,  45,  45,  45,
        43,  43,  43,  43,  43,  44,  44,  44,  44,  44,  44,  45,  45,  45,  45,  45,
        42,  43,  43,  43,  43,  44,  44,  44,  44,  44,  45,  45,  45,  45,  46,  46,
        42,  42,  43,  43,  43,  43,  44,  44,  44,  45,  45,  45,  46,  46,  46,  46,
        42,  42,  42,  43,  43,  43,  44,  44,  45,  45,  45,  46,  46,  46,  47,  47,
        41,  42,  42,  43,  43,  43,  44,  44,  45,  45,  45,  46,  46,  47,  47,  48,
        41,  41,  42,  42,  43,  43,  44,  44,  45,  45,  46,  46,  47,  47,  48,  48,
        41,  41,  42,  42,  43,  43,  44,  44,  45,  45,  46,  46,  47,  48,  48,  49

      }
    }
  },
  {
    /* QM level 8*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        60,  62,  71,  78,  62,  70,  75,  79,  71,  75,  79,  81,  78,  79,  81,  83,

        /*Size 8 x 8*/
        64,  58,  60,  65,  71,  75,  78,  80,  58,  61,  60,  63,  68,  72,  76,  78,
        60,  60,  67,  70,  72,  75,  77,  79,  65,  63,  70,  74,  76,  77,  79,  80,
        71,  68,  72,  76,  78,  79,  80,  81,  75,  72,  75,  77,  79,  81,  81,  82,
        78,  76,  77,  79,  80,  81,  82,  83,  80,  78,  79,  80,  81,  82,  83,  83,

        /*Size 16 x 16*/
        64,  61,  58,  59,  60,  63,  65,  68,  71,  73,  75,  76,  78,  79,  80,  80,
        61,  60,  60,  60,  60,  62,  64,  67,  69,  71,  73,  75,  77,  78,  79,  79,
        58,  60,  61,  61,  60,  62,  63,  66,  68,  70,  72,  74,  76,  77,  78,  78,
        59,  60,  61,  62,  63,  65,  66,  68,  70,  72,  74,  75,  76,  77,  78,  78,
        60,  60,  60,  63,  67,  68,  70,  71,  72,  73,  75,  76,  77,  78,  79,  79,
        63,  62,  62,  65,  68,  70,  72,  73,  74,  75,  76,  77,  78,  79,  79,  79,
        65,  64,  63,  66,  70,  72,  74,  75,  76,  76,  77,  78,  79,  79,  80,  80,
        68,  67,  66,  68,  71,  73,  75,  76,  77,  77,  78,  79,  80,  80,  81,  81,
        71,  69,  68,  70,  72,  74,  76,  77,  78,  79,  79,  80,  80,  81,  81,  81,
        73,  71,  70,  72,  73,  75,  76,  77,  79,  79,  80,  80,  81,  81,  82,  82,
        75,  73,  72,  74,  75,  76,  77,  78,  79,  80,  81,  81,  81,  82,  82,  82,
        76,  75,  74,  75,  76,  77,  78,  79,  80,  80,  81,  81,  82,  82,  82,  82,
        78,  77,  76,  76,  77,  78,  79,  80,  80,  81,  81,  82,  82,  82,  83,  83,
        79,  78,  77,  77,  78,  79,  79,  80,  81,  81,  82,  82,  82,  83,  83,  83,
        80,  79,  78,  78,  79,  79,  80,  81,  81,  82,  82,  82,  83,  83,  83,  83,
        80,  79,  78,  78,  79,  79,  80,  81,  81,  82,  82,  82,  83,  83,  83,  83,

        /*Size 32 x 32*/
        64,  63,  61,  60,  58,  58,  59,  59,  60,  61,  63,  64,  65,  67,  68,  69,
        63,  62,  61,  60,  59,  59,  59,  60,  60,  61,  62,  64,  65,  66,  67,  69,
        61,  61,  60,  60,  60,  60,  60,  60,  60,  61,  62,  63,  64,  66,  67,  68,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  61,  62,  63,  64,  65,  66,  67,
        58,  59,  60,  60,  61,  61,  61,  60,  60,  61,  62,  62,  63,  64,  66,  67,
        58,  59,  60,  60,  61,  61,  61,  61,  62,  62,  63,  64,  65,  66,  67,  68,
        59,  59,  60,  60,  61,  61,  62,  63,  63,  64,  65,  66,  66,  67,  68,  69,
        59,  60,  60,  60,  60,  61,  63,  64,  65,  66,  67,  67,  68,  69,  69,  70,
        60,  60,  60,  60,  60,  62,  63,  65,  67,  67,  68,  69,  70,  70,  71,  71,
        61,  61,  61,  61,  61,  62,  64,  66,  67,  68,  69,  70,  71,  71,  72,  72,
        63,  62,  62,  62,  62,  63,  65,  67,  68,  69,  70,  71,  72,  72,  73,  73,
        64,  64,  63,  63,  62,  64,  66,  67,  69,  70,  71,  72,  73,  73,  74,  74,
        65,  65,  64,  64,  63,  65,  66,  68,  70,  71,  72,  73,  74,  74,  75,  75,
        67,  66,  66,  65,  64,  66,  67,  69,  70,  71,  72,  73,  74,  75,  75,  76,
        68,  67,  67,  66,  66,  67,  68,  69,  71,  72,  73,  74,  75,  75,  76,  76,
        69,  69,  68,  67,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  76,  77,

        /*Size 64 x 64*/
        64,  63,  63,  62,  61,  60,  60,  59,  58,  58,  58,  59,  59,  59,  59,  60,
        63,  63,  62,  61,  61,  60,  60,  59,  58,  59,  59,  59,  59,  59,  59,  60,
        63,  62,  62,  61,  61,  60,  60,  59,  59,  59,  59,  59,  59,  59,  60,  60,
        62,  61,  61,  61,  60,  60,  60,  59,  59,  59,  59,  59,  59,  60,  60,  60,
        61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  60,  60,  60,  60,  60,  60,
        58,  58,  59,  59,  60,  60,  60,  61,  61,  61,  61,  61,  61,  60,  60,  60,
        58,  59,  59,  59,  60,  60,  60,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        58,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  61,  61,  61,  62,
        59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  62,  62,  62,  62,
        59,  59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  62,  62,  62,  63,  63,
        59,  59,  59,  60,  60,  60,  60,  60,  60,  61,  61,  62,  62,  63,  63,  64,
        59,  59,  60,  60,  60,  60,  60,  60,  60,  61,  61,  62,  63,  63,  64,  64,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  61,  62,  62,  63,  64,  64,  65,

        /*Size 128 x 128*/
        64,  64,  63,  63,  63,  62,  62,  61,  61,  61,  60,  60,  60,  59,  59,  58,
        64,  63,  63,  63,  62,  62,  62,  61,  61,  61,  60,  60,  60,  59,  59,  59,
        63,  63,  63,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,  59,  59,  59,
        63,  63,  62,  62,  62,  62,  61,  61,  61,  60,  60,  60,  60,  59,  59,  59,
        63,  62,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,  59,  59,  59,
        62,  62,  62,  62,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  59,  59,
        62,  62,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  59,  59,
        61,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,  59,
        61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        59,  59,  59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  60,  60,  60,  61,
        58,  59,  59,  59,  59,  59,  59,  59,  60,  60,  60,  60,  60,  60,  61,  61

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        43,  46,  58,  68,  46,  56,  64,  70,  58,  64,  71,  75,  68,  70,  75,  77,

        /*Size 8 x 8*/
        48,  41,  43,  50,  57,  63,  68,  72,  41,  44,  43,  47,  53,  59,  65,  69,
        43,  43,  52,  56,  59,  63,  67,  71,  50,  47,  56,  61,  65,  68,  70,  73,
        57,  53,  59,  65,  69,  71,  73,  75,  63,  59,  63,  68,  71,  73,  75,  76,
        68,  65,  67,  70,  73,  75,  76,  78,  72,  69,  71,  73,  75,  76,  78,  78,

        /*Size 16 x 16*/
        48,  44,  41,  42,  43,  46,  50,  53,  57,  60,  63,  66,  68,  70,  72,  72,
        44,  43,  43,  43,  43,  46,  48,  52,  55,  58,  61,  64,  66,  68,  70,  70,
        41,  43,  44,  44,  43,  45,  47,  50,  53,  56,  59,  62,  65,  67,  69,  69,
        42,  43,  44,  46,  47,  49,  51,  54,  56,  59,  61,  64,  66,  68,  70,  70,
        43,  43,  43,  47,  52,  54,  56,  57,  59,  61,  63,  65,  67,  69,  71,  71,
        46,  46,  45,  49,  54,  56,  58,  60,  62,  64,  66,  67,  69,  70,  72,  72,
        50,  48,  47,  51,  56,  58,  61,  63,  65,  66,  68,  69,  70,  71,  73,  73,
        53,  52,  50,  54,  57,  60,  63,  65,  67,  68,  69,  71,  72,  73,  74,  74,
        57,  55,  53,  56,  59,  62,  65,  67,  69,  70,  71,  72,  73,  74,  75,  75,
        60,  58,  56,  59,  61,  64,  66,  68,  70,  71,  72,  73,  74,  75,  75,  75,
        63,  61,  59,  61,  63,  66,  68,  69,  71,  72,  73,  74,  75,  76,  76,  76,
        66,  64,  62,  64,  65,  67,  69,  71,  72,  73,  74,  75,  76,  76,  77,  77,
        68,  66,  65,  66,  67,  69,  70,  72,  73,  74,  75,  76,  76,  77,  78,  78,
        70,  68,  67,  68,  69,  70,  71,  73,  74,  75,  76,  76,  77,  77,  78,  78,
        72,  70,  69,  70,  71,  72,  73,  74,  75,  75,  76,  77,  78,  78,  78,  78,
        72,  70,  69,  70,  71,  72,  73,  74,  75,  75,  76,  77,  78,  78,  78,  78,

        /*Size 32 x 32*/
        48,  46,  44,  43,  41,  41,  42,  42,  43,  45,  46,  48,  50,  52,  53,  55,
        46,  45,  44,  43,  42,  42,  42,  43,  43,  44,  46,  48,  49,  51,  53,  54,
        44,  44,  43,  43,  43,  43,  43,  43,  43,  44,  46,  47,  48,  50,  52,  53,
        43,  43,  43,  43,  43,  43,  43,  43,  43,  44,  45,  47,  48,  49,  51,  53,
        41,  42,  43,  43,  44,  44,  44,  44,  43,  44,  45,  46,  47,  49,  50,  52,
        41,  42,  43,  43,  44,  44,  45,  45,  45,  46,  47,  48,  49,  51,  52,  53,
        42,  42,  43,  43,  44,  45,  46,  46,  47,  48,  49,  50,  51,  53,  54,  55,
        42,  43,  43,  43,  44,  45,  46,  48,  49,  50,  51,  52,  53,  54,  56,  57,
        43,  43,  43,  43,  43,  45,  47,  49,  52,  53,  54,  55,  56,  56,  57,  58,
        45,  44,  44,  44,  44,  46,  48,  50,  53,  54,  55,  56,  57,  58,  59,  60,
        46,  46,  46,  45,  45,  47,  49,  51,  54,  55,  56,  57,  58,  59,  60,  61,
        48,  48,  47,  47,  46,  48,  50,  52,  55,  56,  57,  58,  60,  61,  62,  62,
        50,  49,  48,  48,  47,  49,  51,  53,  56,  57,  58,  60,  61,  62,  63,  64,
        52,  51,  50,  49,  49,  51,  53,  54,  56,  58,  59,  61,  62,  63,  64,  65,
        53,  53,  52,  51,  50,  52,  54,  56,  57,  59,  60,  62,  63,  64,  65,  66,
        55,  54,  53,  53,  52,  53,  55,  57,  58,  60,  61,  62,  64,  65,  66,  67,

        /*Size 64 x 64*/
        48,  47,  46,  45,  44,  43,  43,  42,  41,  41,  41,  42,  42,  42,  42,  43,
        47,  46,  46,  45,  44,  43,  43,  42,  41,  41,  42,  42,  42,  42,  42,  43,
        46,  46,  45,  44,  44,  43,  43,  42,  42,  42,  42,  42,  42,  42,  43,  43,
        45,  45,  44,  44,  44,  43,  43,  42,  42,  42,  42,  42,  43,  43,  43,  43,
        44,  44,  44,  44,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,
        43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,
        43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,
        42,  42,  42,  42,  43,  43,  43,  44,  44,  44,  44,  44,  44,  43,  43,  43,
        41,  41,  42,  42,  43,  43,  43,  44,  44,  44,  44,  44,  44,  44,  44,  43,
        41,  41,  42,  42,  43,  43,  43,  44,  44,  44,  44,  44,  44,  44,  44,  44,
        41,  42,  42,  42,  43,  43,  43,  44,  44,  44,  44,  44,  45,  45,  45,  45,
        42,  42,  42,  42,  43,  43,  43,  44,  44,  44,  44,  45,  45,  45,  46,  46,
        42,  42,  42,  43,  43,  43,  43,  44,  44,  44,  45,  45,  46,  46,  46,  47,
        42,  42,  42,  43,  43,  43,  43,  43,  44,  44,  45,  45,  46,  47,  47,  48,
        42,  42,  43,  43,  43,  43,  43,  43,  44,  44,  45,  46,  46,  47,  48,  49,
        43,  43,  43,  43,  43,  43,  43,  43,  43,  44,  45,  46,  47,  48,  49,  50,

        /*Size 128 x 128*/
        48,  48,  47,  47,  46,  46,  45,  45,  44,  44,  43,  43,  43,  42,  42,  41,
        48,  47,  47,  46,  46,  45,  45,  45,  44,  44,  43,  43,  43,  42,  42,  41,
        47,  47,  46,  46,  46,  45,  45,  45,  44,  44,  43,  43,  43,  42,  42,  42,
        47,  46,  46,  46,  45,  45,  45,  44,  44,  44,  43,  43,  43,  42,  42,  42,
        46,  46,  46,  45,  45,  45,  44,  44,  44,  44,  43,  43,  43,  42,  42,  42,
        46,  45,  45,  45,  45,  45,  44,  44,  44,  44,  43,  43,  43,  43,  42,  42,
        45,  45,  45,  45,  44,  44,  44,  44,  44,  43,  43,  43,  43,  43,  42,  42,
        45,  45,  45,  44,  44,  44,  44,  44,  44,  43,  43,  43,  43,  43,  43,  42,
        44,  44,  44,  44,  44,  44,  44,  44,  43,  43,  43,  43,  43,  43,  43,  43,
        44,  44,  44,  44,  44,  44,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,
        43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,
        43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,
        43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,
        42,  42,  42,  42,  42,  43,  43,  43,  43,  43,  43,  43,  43,  43,  43,  44,
        42,  42,  42,  42,  42,  42,  42,  43,  43,  43,  43,  43,  43,  43,  44,  44,
        41,  41,  42,  42,  42,  42,  42,  42,  43,  43,  43,  43,  43,  44,  44,  44

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        62,  74,  77,  83,  74,  79,  81,  85,  77,  81,  87,  90,  83,  85,  90,  94,

        /*Size 8 x 8*/
        64,  58,  75,  76,  78,  81,  84,  87,  58,  69,  75,  72,  73,  75,  79,  82,
        75,  75,  79,  78,  78,  79,  82,  84,  76,  72,  78,  82,  83,  84,  85,  87,
        78,  73,  78,  83,  86,  87,  89,  90,  81,  75,  79,  84,  87,  90,  91,  92,
        84,  79,  82,  85,  89,  91,  93,  94,  87,  82,  84,  87,  90,  92,  94,  96,

        /*Size 16 x 16*/
        64,  61,  58,  66,  75,  76,  76,  77,  78,  79,  81,  82,  84,  86,  87,  87,
        61,  62,  63,  69,  75,  74,  74,  74,  75,  77,  78,  80,  81,  83,  85,  85,
        58,  63,  69,  72,  75,  73,  72,  72,  73,  74,  75,  77,  79,  80,  82,  82,
        66,  69,  72,  74,  77,  76,  75,  75,  75,  76,  77,  79,  80,  82,  83,  83,
        75,  75,  75,  77,  79,  79,  78,  78,  78,  79,  79,  81,  82,  83,  84,  84,
        76,  74,  73,  76,  79,  79,  80,  80,  80,  81,  82,  83,  84,  85,  86,  86,
        76,  74,  72,  75,  78,  80,  82,  82,  83,  83,  84,  85,  85,  86,  87,  87,
        77,  74,  72,  75,  78,  80,  82,  83,  84,  85,  86,  86,  87,  88,  89,  89,
        78,  75,  73,  75,  78,  80,  83,  84,  86,  86,  87,  88,  89,  89,  90,  90,
        79,  77,  74,  76,  79,  81,  83,  85,  86,  87,  88,  89,  90,  90,  91,  91,
        81,  78,  75,  77,  79,  82,  84,  86,  87,  88,  90,  90,  91,  92,  92,  92,
        82,  80,  77,  79,  81,  83,  85,  86,  88,  89,  90,  91,  92,  93,  93,  93,
        84,  81,  79,  80,  82,  84,  85,  87,  89,  90,  91,  92,  93,  93,  94,  94,
        86,  83,  80,  82,  83,  85,  86,  88,  89,  90,  92,  93,  93,  94,  95,  95,
        87,  85,  82,  83,  84,  86,  87,  89,  90,  91,  92,  93,  94,  95,  96,  96,
        87,  85,  82,  83,  84,  86,  87,  89,  90,  91,  92,  93,  94,  95,  96,  96,

        /*Size 32 x 32*/
        64,  62,  61,  59,  58,  62,  66,  71,  75,  75,  76,  76,  76,  76,  77,  77,
        62,  62,  61,  61,  60,  64,  68,  71,  75,  75,  75,  75,  75,  75,  76,  76,
        61,  61,  62,  62,  63,  66,  69,  72,  75,  75,  74,  74,  74,  74,  74,  75,
        59,  61,  62,  64,  66,  68,  70,  72,  75,  74,  74,  73,  73,  73,  73,  74,
        58,  60,  63,  66,  69,  70,  72,  73,  75,  74,  73,  72,  72,  72,  72,  72,
        62,  64,  66,  68,  70,  71,  73,  74,  76,  75,  74,  74,  73,  73,  74,  74,
        66,  68,  69,  70,  72,  73,  74,  75,  77,  76,  76,  75,  75,  75,  75,  75,
        71,  71,  72,  72,  73,  74,  75,  77,  78,  78,  77,  77,  76,  76,  77,  77,
        75,  75,  75,  75,  75,  76,  77,  78,  79,  79,  79,  78,  78,  78,  78,  78,
        75,  75,  75,  74,  74,  75,  76,  78,  79,  79,  79,  79,  79,  79,  79,  79,
        76,  75,  74,  74,  73,  74,  76,  77,  79,  79,  79,  79,  80,  80,  80,  80,
        76,  75,  74,  73,  72,  74,  75,  77,  78,  79,  79,  80,  81,  81,  81,  81,
        76,  75,  74,  73,  72,  73,  75,  76,  78,  79,  80,  81,  82,  82,  82,  82,
        76,  75,  74,  73,  72,  73,  75,  76,  78,  79,  80,  81,  82,  82,  83,  83,
        77,  76,  74,  73,  72,  74,  75,  77,  78,  79,  80,  81,  82,  83,  83,  84,
        77,  76,  75,  74,  72,  74,  75,  77,  78,  79,  80,  81,  82,  83,  84,  84,

        /*Size 64 x 64*/
        64,  63,  62,  62,  61,  60,  59,  58,  58,  60,  62,  64,  66,  69,  71,  73,
        63,  63,  62,  62,  61,  60,  60,  59,  59,  61,  63,  65,  67,  69,  71,  73,
        62,  62,  62,  62,  61,  61,  61,  61,  60,  62,  64,  66,  68,  70,  71,  73,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  65,  67,  68,  70,  72,  73,
        61,  61,  61,  62,  62,  62,  62,  63,  63,  64,  66,  67,  69,  70,  72,  73,
        60,  60,  61,  62,  62,  63,  63,  64,  64,  66,  67,  68,  70,  71,  72,  73,
        59,  60,  61,  62,  62,  63,  64,  65,  66,  67,  68,  69,  70,  71,  72,  74,
        58,  59,  61,  62,  63,  64,  65,  66,  67,  68,  69,  70,  71,  72,  73,  74,
        58,  59,  60,  62,  63,  64,  66,  67,  69,  69,  70,  71,  72,  72,  73,  74,
        60,  61,  62,  63,  64,  66,  67,  68,  69,  70,  71,  71,  72,  73,  74,  74,
        62,  63,  64,  65,  66,  67,  68,  69,  70,  71,  71,  72,  73,  74,  74,  75,
        64,  65,  66,  67,  67,  68,  69,  70,  71,  71,  72,  73,  73,  74,  75,  76,
        66,  67,  68,  68,  69,  70,  70,  71,  72,  72,  73,  73,  74,  75,  75,  76,
        69,  69,  70,  70,  70,  71,  71,  72,  72,  73,  74,  74,  75,  75,  76,  77,
        71,  71,  71,  72,  72,  72,  72,  73,  73,  74,  74,  75,  75,  76,  77,  77,
        73,  73,  73,  73,  73,  73,  74,  74,  74,  74,  75,  76,  76,  77,  77,  78,

        /*Size 128 x 128*/
        64,  64,  63,  63,  62,  62,  62,  61,  61,  60,  60,  60,  59,  59,  58,  58,
        64,  63,  63,  63,  62,  62,  62,  61,  61,  61,  60,  60,  60,  59,  59,  59,
        63,  63,  63,  62,  62,  62,  62,  61,  61,  61,  60,  60,  60,  60,  59,  59,
        63,  63,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  60,  60,  60,  60,
        62,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  60,
        62,  62,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  63,  63,  63,
        60,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,
        60,  60,  60,  61,  61,  61,  62,  62,  62,  62,  63,  63,  63,  64,  64,  64,
        60,  60,  60,  61,  61,  61,  62,  62,  62,  63,  63,  63,  64,  64,  64,  65,
        59,  60,  60,  60,  61,  61,  62,  62,  62,  63,  63,  64,  64,  65,  65,  65,
        59,  59,  60,  60,  61,  61,  62,  62,  63,  63,  64,  64,  65,  65,  65,  66,
        58,  59,  59,  60,  61,  61,  62,  62,  63,  63,  64,  64,  65,  65,  66,  67,
        58,  59,  59,  60,  60,  61,  62,  62,  63,  63,  64,  65,  65,  66,  67,  67

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        51,  60,  61,  65,  60,  63,  64,  66,  61,  64,  68,  69,  65,  66,  69,  71,

        /*Size 8 x 8*/
        53,  49,  60,  61,  62,  64,  66,  67,  49,  56,  60,  58,  59,  60,  62,  64,
        60,  60,  63,  62,  62,  63,  64,  66,  61,  58,  62,  64,  65,  66,  66,  67,
        62,  59,  62,  65,  67,  68,  68,  69,  64,  60,  63,  66,  68,  69,  70,  70,
        66,  62,  64,  66,  68,  70,  71,  71,  67,  64,  66,  67,  69,  70,  71,  72,

        /*Size 16 x 16*/
        53,  51,  49,  54,  60,  60,  61,  61,  62,  63,  64,  65,  66,  66,  67,  67,
        51,  51,  52,  56,  60,  60,  59,  60,  60,  61,  62,  63,  64,  65,  66,  66,
        49,  52,  56,  58,  60,  59,  58,  58,  59,  59,  60,  61,  62,  63,  64,  64,
        54,  56,  58,  59,  61,  61,  60,  60,  60,  61,  62,  62,  63,  64,  65,  65,
        60,  60,  60,  61,  63,  62,  62,  62,  62,  62,  63,  63,  64,  65,  66,  66,
        60,  60,  59,  61,  62,  63,  63,  63,  63,  64,  64,  65,  65,  66,  67,  67,
        61,  59,  58,  60,  62,  63,  64,  64,  65,  65,  66,  66,  66,  67,  67,  67,
        61,  60,  58,  60,  62,  63,  64,  65,  66,  66,  67,  67,  67,  68,  68,  68,
        62,  60,  59,  60,  62,  63,  65,  66,  67,  67,  68,  68,  68,  69,  69,  69,
        63,  61,  59,  61,  62,  64,  65,  66,  67,  68,  68,  69,  69,  69,  70,  70,
        64,  62,  60,  62,  63,  64,  66,  67,  68,  68,  69,  69,  70,  70,  70,  70,
        65,  63,  61,  62,  63,  65,  66,  67,  68,  69,  69,  70,  70,  70,  71,  71,
        66,  64,  62,  63,  64,  65,  66,  67,  68,  69,  70,  70,  71,  71,  71,  71,
        66,  65,  63,  64,  65,  66,  67,  68,  69,  69,  70,  70,  71,  71,  72,  72,
        67,  66,  64,  65,  66,  67,  67,  68,  69,  70,  70,  71,  71,  72,  72,  72,
        67,  66,  64,  65,  66,  67,  67,  68,  69,  70,  70,  71,  71,  72,  72,  72,

        /*Size 32 x 32*/
        53,  52,  51,  50,  49,  51,  54,  57,  60,  60,  60,  60,  61,  61,  61,  61,
        52,  51,  51,  51,  50,  53,  55,  58,  60,  60,  60,  60,  60,  60,  60,  61,
        51,  51,  51,  52,  52,  54,  56,  58,  60,  60,  60,  59,  59,  59,  60,  60,
        50,  51,  52,  53,  54,  55,  57,  58,  60,  60,  59,  59,  59,  59,  59,  59,
        49,  50,  52,  54,  56,  57,  58,  59,  60,  59,  59,  58,  58,  58,  58,  58,
        51,  53,  54,  55,  57,  58,  59,  60,  60,  60,  60,  59,  59,  59,  59,  59,
        54,  55,  56,  57,  58,  59,  59,  60,  61,  61,  61,  60,  60,  60,  60,  60,
        57,  58,  58,  58,  59,  60,  60,  61,  62,  62,  61,  61,  61,  61,  61,  61,
        60,  60,  60,  60,  60,  60,  61,  62,  63,  62,  62,  62,  62,  62,  62,  62,
        60,  60,  60,  60,  59,  60,  61,  62,  62,  62,  62,  62,  63,  63,  63,  63,
        60,  60,  60,  59,  59,  60,  61,  61,  62,  62,  63,  63,  63,  63,  63,  63,
        60,  60,  59,  59,  58,  59,  60,  61,  62,  62,  63,  63,  64,  64,  64,  64,
        61,  60,  59,  59,  58,  59,  60,  61,  62,  63,  63,  64,  64,  64,  64,  65,
        61,  60,  59,  59,  58,  59,  60,  61,  62,  63,  63,  64,  64,  64,  65,  65,
        61,  60,  60,  59,  58,  59,  60,  61,  62,  63,  63,  64,  64,  65,  65,  65,
        61,  61,  60,  59,  58,  59,  60,  61,  62,  63,  63,  64,  65,  65,  65,  66,

        /*Size 64 x 64*/
        53,  52,  52,  51,  51,  50,  50,  49,  49,  50,  51,  53,  54,  56,  57,  59,
        52,  52,  52,  51,  51,  50,  50,  50,  49,  51,  52,  53,  55,  56,  57,  59,
        52,  52,  51,  51,  51,  51,  51,  50,  50,  52,  53,  54,  55,  56,  58,  59,
        51,  51,  51,  51,  51,  51,  51,  51,  51,  52,  53,  54,  56,  57,  58,  59,
        51,  51,  51,  51,  51,  52,  52,  52,  52,  53,  54,  55,  56,  57,  58,  59,
        50,  50,  51,  51,  52,  52,  52,  53,  53,  54,  55,  56,  56,  57,  58,  59,
        50,  50,  51,  51,  52,  52,  53,  53,  54,  55,  55,  56,  57,  58,  58,  59,
        49,  50,  50,  51,  52,  53,  53,  54,  55,  55,  56,  57,  57,  58,  59,  59,
        49,  49,  50,  51,  52,  53,  54,  55,  56,  56,  57,  57,  58,  58,  59,  59,
        50,  51,  52,  52,  53,  54,  55,  55,  56,  57,  57,  58,  58,  59,  59,  60,
        51,  52,  53,  53,  54,  55,  55,  56,  57,  57,  58,  58,  59,  59,  60,  60,
        53,  53,  54,  54,  55,  56,  56,  57,  57,  58,  58,  59,  59,  59,  60,  60,
        54,  55,  55,  56,  56,  56,  57,  57,  58,  58,  59,  59,  59,  60,  60,  61,
        56,  56,  56,  57,  57,  57,  58,  58,  58,  59,  59,  59,  60,  60,  61,  61,
        57,  57,  58,  58,  58,  58,  58,  59,  59,  59,  60,  60,  60,  61,  61,  61,
        59,  59,  59,  59,  59,  59,  59,  59,  59,  60,  60,  60,  61,  61,  61,  62,

        /*Size 128 x 128*/
        53,  52,  52,  52,  52,  51,  51,  51,  51,  50,  50,  50,  50,  49,  49,  49,
        52,  52,  52,  52,  52,  51,  51,  51,  51,  50,  50,  50,  50,  50,  49,  49,
        52,  52,  52,  52,  52,  51,  51,  51,  51,  51,  50,  50,  50,  50,  50,  50,
        52,  52,  52,  52,  51,  51,  51,  51,  51,  51,  51,  51,  50,  50,  50,  50,
        52,  52,  52,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  50,  50,
        51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,
        51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,
        51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  52,  52,  52,
        51,  51,  51,  51,  51,  51,  51,  51,  51,  51,  52,  52,  52,  52,  52,  52,
        50,  50,  51,  51,  51,  51,  51,  51,  51,  52,  52,  52,  52,  52,  52,  52,
        50,  50,  50,  51,  51,  51,  51,  51,  52,  52,  52,  52,  52,  52,  53,  53,
        50,  50,  50,  51,  51,  51,  51,  51,  52,  52,  52,  52,  53,  53,  53,  53,
        50,  50,  50,  50,  51,  51,  51,  51,  52,  52,  52,  53,  53,  53,  53,  54,
        49,  50,  50,  50,  51,  51,  51,  52,  52,  52,  52,  53,  53,  53,  54,  54,
        49,  49,  50,  50,  50,  51,  51,  52,  52,  52,  53,  53,  53,  54,  54,  54,
        49,  49,  50,  50,  50,  51,  51,  52,  52,  52,  53,  53,  54,  54,  54,  55

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        62,  77,  79,  86,  77,  82,  84,  87,  79,  84,  90,  93,  86,  87,  93,  97,

        /*Size 8 x 8*/
        64,  57,  76,  79,  80,  84,  87,  90,  57,  69,  77,  75,  75,  78,  82,  85,
        76,  77,  82,  81,  81,  82,  85,  87,  79,  75,  81,  84,  86,  87,  88,  90,
        80,  75,  81,  86,  88,  90,  91,  93,  84,  78,  82,  87,  90,  92,  94,  95,
        87,  82,  85,  88,  91,  94,  96,  97,  90,  85,  87,  90,  93,  95,  97,  98,

        /*Size 16 x 16*/
        64,  61,  57,  67,  76,  77,  79,  79,  80,  82,  84,  85,  87,  88,  90,  90,
        61,  62,  63,  70,  77,  77,  77,  77,  78,  79,  81,  82,  84,  86,  87,  87,
        57,  63,  69,  73,  77,  76,  75,  75,  75,  77,  78,  80,  82,  83,  85,  85,
        67,  70,  73,  76,  80,  79,  78,  78,  78,  79,  80,  82,  83,  84,  86,  86,
        76,  77,  77,  80,  82,  81,  81,  81,  81,  81,  82,  83,  85,  86,  87,  87,
        77,  77,  76,  79,  81,  82,  83,  83,  83,  84,  84,  85,  86,  87,  89,  89,
        79,  77,  75,  78,  81,  83,  84,  85,  86,  86,  87,  87,  88,  89,  90,  90,
        79,  77,  75,  78,  81,  83,  85,  86,  87,  88,  88,  89,  90,  91,  91,  91,
        80,  78,  75,  78,  81,  83,  86,  87,  88,  89,  90,  91,  91,  92,  93,  93,
        82,  79,  77,  79,  81,  84,  86,  88,  89,  90,  91,  92,  93,  93,  94,  94,
        84,  81,  78,  80,  82,  84,  87,  88,  90,  91,  92,  93,  94,  94,  95,  95,
        85,  82,  80,  82,  83,  85,  87,  89,  91,  92,  93,  94,  95,  95,  96,  96,
        87,  84,  82,  83,  85,  86,  88,  90,  91,  93,  94,  95,  96,  96,  97,  97,
        88,  86,  83,  84,  86,  87,  89,  91,  92,  93,  94,  95,  96,  97,  98,  98,
        90,  87,  85,  86,  87,  89,  90,  91,  93,  94,  95,  96,  97,  98,  98,  98,
        90,  87,  85,  86,  87,  89,  90,  91,  93,  94,  95,  96,  97,  98,  98,  98,

        /*Size 32 x 32*/
        64,  62,  61,  59,  57,  62,  67,  71,  76,  76,  77,  78,  79,  79,  79,  80,
        62,  62,  61,  61,  60,  64,  68,  72,  76,  76,  77,  77,  78,  78,  78,  79,
        61,  61,  62,  62,  63,  66,  70,  73,  77,  77,  77,  77,  77,  77,  77,  77,
        59,  61,  62,  64,  66,  69,  71,  74,  77,  77,  76,  76,  76,  76,  76,  76,
        57,  60,  63,  66,  69,  71,  73,  75,  77,  77,  76,  75,  75,  75,  75,  75,
        62,  64,  66,  69,  71,  73,  75,  77,  78,  78,  77,  77,  76,  76,  76,  76,
        67,  68,  70,  71,  73,  75,  76,  78,  80,  79,  79,  78,  78,  78,  78,  78,
        71,  72,  73,  74,  75,  77,  78,  79,  81,  80,  80,  80,  79,  79,  79,  79,
        76,  76,  77,  77,  77,  78,  80,  81,  82,  82,  81,  81,  81,  81,  81,  81,
        76,  76,  77,  77,  77,  78,  79,  80,  82,  82,  82,  82,  82,  82,  82,  82,
        77,  77,  77,  76,  76,  77,  79,  80,  81,  82,  82,  82,  83,  83,  83,  83,
        78,  77,  77,  76,  75,  77,  78,  80,  81,  82,  82,  83,  83,  84,  84,  84,
        79,  78,  77,  76,  75,  76,  78,  79,  81,  82,  83,  83,  84,  85,  85,  85,
        79,  78,  77,  76,  75,  76,  78,  79,  81,  82,  83,  84,  85,  85,  85,  86,
        79,  78,  77,  76,  75,  76,  78,  79,  81,  82,  83,  84,  85,  85,  86,  86,
        80,  79,  77,  76,  75,  76,  78,  79,  81,  82,  83,  84,  85,  86,  86,  87,

        /*Size 64 x 64*/
        64,  63,  62,  61,  61,  60,  59,  58,  57,  60,  62,  64,  67,  69,  71,  73,
        63,  63,  62,  61,  61,  60,  60,  59,  59,  61,  63,  65,  67,  69,  72,  74,
        62,  62,  62,  61,  61,  61,  61,  60,  60,  62,  64,  66,  68,  70,  72,  74,
        61,  61,  61,  62,  62,  62,  62,  62,  62,  63,  65,  67,  69,  71,  73,  74,
        61,  61,  61,  62,  62,  62,  62,  63,  63,  65,  66,  68,  70,  71,  73,  75,
        60,  60,  61,  62,  62,  63,  63,  64,  64,  66,  68,  69,  71,  72,  74,  75,
        59,  60,  61,  62,  62,  63,  64,  65,  66,  67,  69,  70,  71,  73,  74,  76,
        58,  59,  60,  62,  63,  64,  65,  66,  67,  69,  70,  71,  72,  73,  75,  76,
        57,  59,  60,  62,  63,  64,  66,  67,  69,  70,  71,  72,  73,  74,  75,  76,
        60,  61,  62,  63,  65,  66,  67,  69,  70,  71,  72,  73,  74,  75,  76,  77,
        62,  63,  64,  65,  66,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  77,
        64,  65,  66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  75,  76,  77,  78,
        67,  67,  68,  69,  70,  71,  71,  72,  73,  74,  75,  75,  76,  77,  78,  79,
        69,  69,  70,  71,  71,  72,  73,  73,  74,  75,  76,  76,  77,  78,  79,  79,
        71,  72,  72,  73,  73,  74,  74,  75,  75,  76,  77,  77,  78,  79,  79,  80,
        73,  74,  74,  74,  75,  75,  76,  76,  76,  77,  77,  78,  79,  79,  80,  81,

        /*Size 128 x 128*/
        64,  64,  63,  63,  62,  62,  61,  61,  61,  60,  60,  59,  59,  59,  58,  58,
        64,  63,  63,  63,  62,  62,  61,  61,  61,  60,  60,  60,  59,  59,  59,  58,
        63,  63,  63,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,  59,  59,
        63,  63,  62,  62,  62,  62,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,
        62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  60,  60,
        62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        61,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  63,  63,  63,
        60,  60,  61,  61,  61,  61,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,
        60,  60,  60,  61,  61,  61,  62,  62,  62,  62,  63,  63,  63,  64,  64,  64,
        59,  60,  60,  60,  61,  61,  62,  62,  62,  63,  63,  63,  64,  64,  64,  65,
        59,  59,  60,  60,  61,  61,  62,  62,  62,  63,  63,  64,  64,  65,  65,  65,
        59,  59,  60,  60,  61,  61,  62,  62,  63,  63,  64,  64,  65,  65,  66,  66,
        58,  59,  59,  60,  60,  61,  62,  62,  63,  63,  64,  64,  65,  66,  66,  67,
        58,  58,  59,  60,  60,  61,  62,  62,  63,  63,  64,  65,  65,  66,  67,  67

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        50,  60,  61,  65,  60,  63,  64,  66,  61,  64,  68,  69,  65,  66,  69,  71,

        /*Size 8 x 8*/
        52,  47,  59,  61,  62,  64,  66,  67,  47,  55,  60,  58,  59,  61,  63,  65,
        59,  60,  63,  62,  62,  63,  64,  66,  61,  58,  62,  64,  65,  66,  66,  68,
        62,  59,  62,  65,  67,  68,  68,  69,  64,  61,  63,  66,  68,  69,  70,  70,
        66,  63,  64,  66,  68,  70,  71,  71,  67,  65,  66,  68,  69,  70,  71,  72,

        /*Size 16 x 16*/
        52,  49,  47,  53,  59,  60,  61,  61,  62,  63,  64,  65,  66,  66,  67,  67,
        49,  50,  51,  55,  60,  60,  60,  60,  60,  61,  62,  63,  64,  65,  66,  66,
        47,  51,  55,  57,  60,  59,  58,  59,  59,  60,  61,  62,  63,  64,  65,  65,
        53,  55,  57,  59,  61,  61,  60,  60,  60,  61,  62,  63,  63,  64,  65,  65,
        59,  60,  60,  61,  63,  62,  62,  62,  62,  63,  63,  64,  64,  65,  66,  66,
        60,  60,  59,  61,  62,  63,  63,  63,  63,  64,  64,  65,  65,  66,  67,  67,
        61,  60,  58,  60,  62,  63,  64,  64,  65,  65,  66,  66,  66,  67,  68,  68,
        61,  60,  59,  60,  62,  63,  64,  65,  66,  66,  67,  67,  67,  68,  68,  68,
        62,  60,  59,  60,  62,  63,  65,  66,  67,  67,  68,  68,  68,  69,  69,  69,
        63,  61,  60,  61,  63,  64,  65,  66,  67,  68,  68,  69,  69,  69,  70,  70,
        64,  62,  61,  62,  63,  64,  66,  67,  68,  68,  69,  69,  70,  70,  70,  70,
        65,  63,  62,  63,  64,  65,  66,  67,  68,  69,  69,  70,  70,  70,  71,  71,
        66,  64,  63,  63,  64,  65,  66,  67,  68,  69,  70,  70,  71,  71,  71,  71,
        66,  65,  64,  64,  65,  66,  67,  68,  69,  69,  70,  70,  71,  71,  72,  72,
        67,  66,  65,  65,  66,  67,  68,  68,  69,  70,  70,  71,  71,  72,  72,  72,
        67,  66,  65,  65,  66,  67,  68,  68,  69,  70,  70,  71,  71,  72,  72,  72,

        /*Size 32 x 32*/
        52,  50,  49,  48,  47,  50,  53,  56,  59,  59,  60,  60,  61,  61,  61,  62,
        50,  50,  50,  49,  49,  52,  54,  57,  59,  59,  60,  60,  60,  60,  61,  61,
        49,  50,  50,  50,  51,  53,  55,  57,  60,  60,  60,  60,  60,  60,  60,  60,
        48,  49,  50,  52,  53,  55,  56,  58,  60,  60,  59,  59,  59,  59,  59,  59,
        47,  49,  51,  53,  55,  56,  57,  59,  60,  60,  59,  59,  58,  58,  59,  59,
        50,  52,  53,  55,  56,  57,  58,  60,  61,  60,  60,  60,  59,  59,  59,  59,
        53,  54,  55,  56,  57,  58,  59,  60,  61,  61,  61,  60,  60,  60,  60,  60,
        56,  57,  57,  58,  59,  60,  60,  61,  62,  62,  62,  61,  61,  61,  61,  61,
        59,  59,  60,  60,  60,  61,  61,  62,  63,  63,  62,  62,  62,  62,  62,  62,
        59,  59,  60,  60,  60,  60,  61,  62,  63,  63,  63,  63,  63,  63,  63,  63,
        60,  60,  60,  59,  59,  60,  61,  62,  62,  63,  63,  63,  63,  63,  63,  63,
        60,  60,  60,  59,  59,  60,  60,  61,  62,  63,  63,  63,  64,  64,  64,  64,
        61,  60,  60,  59,  58,  59,  60,  61,  62,  63,  63,  64,  64,  64,  64,  65,
        61,  60,  60,  59,  58,  59,  60,  61,  62,  63,  63,  64,  64,  64,  65,  65,
        61,  61,  60,  59,  59,  59,  60,  61,  62,  63,  63,  64,  64,  65,  65,  65,
        62,  61,  60,  59,  59,  59,  60,  61,  62,  63,  63,  64,  65,  65,  65,  66,

        /*Size 64 x 64*/
        52,  51,  50,  50,  49,  49,  48,  48,  47,  49,  50,  52,  53,  55,  56,  58,
        51,  51,  50,  50,  49,  49,  49,  48,  48,  49,  51,  52,  54,  55,  56,  58,
        50,  50,  50,  50,  50,  49,  49,  49,  49,  50,  52,  53,  54,  55,  57,  58,
        50,  50,  50,  50,  50,  50,  50,  50,  50,  51,  52,  53,  55,  56,  57,  58,
        49,  49,  50,  50,  50,  50,  50,  51,  51,  52,  53,  54,  55,  56,  57,  58,
        49,  49,  49,  50,  50,  51,  51,  51,  52,  53,  54,  55,  56,  57,  58,  59,
        48,  49,  49,  50,  50,  51,  52,  52,  53,  54,  55,  55,  56,  57,  58,  59,
        48,  48,  49,  50,  51,  51,  52,  53,  54,  55,  55,  56,  57,  58,  58,  59,
        47,  48,  49,  50,  51,  52,  53,  54,  55,  55,  56,  57,  57,  58,  59,  59,
        49,  49,  50,  51,  52,  53,  54,  55,  55,  56,  57,  57,  58,  58,  59,  60,
        50,  51,  52,  52,  53,  54,  55,  55,  56,  57,  57,  58,  58,  59,  60,  60,
        52,  52,  53,  53,  54,  55,  55,  56,  57,  57,  58,  58,  59,  59,  60,  60,
        53,  54,  54,  55,  55,  56,  56,  57,  57,  58,  58,  59,  59,  60,  60,  61,
        55,  55,  55,  56,  56,  57,  57,  58,  58,  58,  59,  59,  60,  60,  61,  61,
        56,  56,  57,  57,  57,  58,  58,  58,  59,  59,  60,  60,  60,  61,  61,  62,
        58,  58,  58,  58,  58,  59,  59,  59,  59,  60,  60,  60,  61,  61,  62,  62,

        /*Size 128 x 128*/
        52,  51,  51,  51,  50,  50,  50,  50,  49,  49,  49,  48,  48,  48,  48,  47,
        51,  51,  51,  51,  50,  50,  50,  50,  49,  49,  49,  49,  48,  48,  48,  48,
        51,  51,  51,  50,  50,  50,  50,  50,  49,  49,  49,  49,  49,  49,  48,  48,
        51,  51,  50,  50,  50,  50,  50,  50,  50,  49,  49,  49,  49,  49,  49,  49,
        50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  49,  49,  49,  49,  49,  49,
        50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  49,
        50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,
        50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,
        49,  49,  49,  50,  50,  50,  50,  50,  50,  50,  50,  50,  50,  51,  51,  51,
        49,  49,  49,  49,  50,  50,  50,  50,  50,  50,  50,  51,  51,  51,  51,  51,
        49,  49,  49,  49,  49,  50,  50,  50,  50,  50,  51,  51,  51,  51,  51,  52,
        48,  49,  49,  49,  49,  50,  50,  50,  50,  51,  51,  51,  51,  52,  52,  52,
        48,  48,  49,  49,  49,  50,  50,  50,  50,  51,  51,  51,  52,  52,  52,  53,
        48,  48,  49,  49,  49,  50,  50,  50,  51,  51,  51,  52,  52,  52,  53,  53,
        48,  48,  48,  49,  49,  50,  50,  50,  51,  51,  51,  52,  52,  53,  53,  53,
        47,  48,  48,  49,  49,  49,  50,  50,  51,  51,  52,  52,  53,  53,  53,  54

      }
    }
  },
  {
    /* QM level 9*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        62,  63,  68,  70,  63,  67,  69,  71,  68,  69,  71,  72,  70,  71,  72,  73,

        /*Size 8 x 8*/
        64,  61,  62,  65,  67,  69,  71,  71,  61,  63,  62,  64,  66,  68,  70,  71,
        62,  62,  66,  67,  68,  69,  70,  71,  65,  64,  67,  69,  70,  70,  71,  72,
        67,  66,  68,  70,  71,  71,  72,  72,  69,  68,  69,  70,  71,  72,  72,  72,
        71,  70,  70,  71,  72,  72,  72,  73,  71,  71,  71,  72,  72,  72,  73,  73,

        /*Size 16 x 16*/
        64,  62,  61,  61,  62,  63,  65,  66,  67,  68,  69,  70,  71,  71,  71,  71,
        62,  62,  62,  62,  62,  63,  64,  65,  67,  68,  69,  69,  70,  70,  71,  71,
        61,  62,  63,  62,  62,  63,  64,  65,  66,  67,  68,  69,  70,  70,  71,  71,
        61,  62,  62,  63,  64,  65,  65,  66,  67,  68,  69,  69,  70,  70,  71,  71,
        62,  62,  62,  64,  66,  66,  67,  67,  68,  69,  69,  70,  70,  71,  71,  71,
        63,  63,  63,  65,  66,  67,  68,  68,  69,  69,  70,  70,  71,  71,  71,  71,
        65,  64,  64,  65,  67,  68,  69,  69,  70,  70,  70,  71,  71,  71,  72,  72,
        66,  65,  65,  66,  67,  68,  69,  70,  70,  70,  71,  71,  71,  72,  72,  72,
        67,  67,  66,  67,  68,  69,  70,  70,  71,  71,  71,  71,  72,  72,  72,  72,
        68,  68,  67,  68,  69,  69,  70,  70,  71,  71,  72,  72,  72,  72,  72,  72,
        69,  69,  68,  69,  69,  70,  70,  71,  71,  72,  72,  72,  72,  72,  72,  72,
        70,  69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  72,  72,  72,  72,  72,
        71,  70,  70,  70,  70,  71,  71,  71,  72,  72,  72,  72,  72,  72,  73,  73,
        71,  70,  70,  70,  71,  71,  71,  72,  72,  72,  72,  72,  72,  73,  73,  73,
        71,  71,  71,  71,  71,  71,  72,  72,  72,  72,  72,  72,  73,  73,  73,  73,
        71,  71,  71,  71,  71,  71,  72,  72,  72,  72,  72,  72,  73,  73,  73,  73,

        /*Size 32 x 32*/
        64,  63,  62,  62,  61,  61,  61,  62,  62,  63,  63,  64,  65,  65,  66,  67,
        63,  63,  62,  62,  61,  61,  62,  62,  62,  62,  63,  64,  65,  65,  66,  66,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  64,  64,  65,  65,  66,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  63,  64,  65,  65,  66,
        61,  61,  62,  62,  63,  62,  62,  62,  62,  62,  63,  63,  64,  64,  65,  65,
        61,  61,  62,  62,  62,  63,  63,  63,  63,  63,  64,  64,  65,  65,  66,  66,
        61,  62,  62,  62,  62,  63,  63,  63,  64,  64,  65,  65,  65,  66,  66,  67,
        62,  62,  62,  62,  62,  63,  63,  64,  65,  65,  65,  66,  66,  66,  67,  67,
        62,  62,  62,  62,  62,  63,  64,  65,  66,  66,  66,  66,  67,  67,  67,  68,
        63,  62,  62,  62,  62,  63,  64,  65,  66,  66,  67,  67,  67,  67,  68,  68,
        63,  63,  63,  63,  63,  64,  65,  65,  66,  67,  67,  67,  68,  68,  68,  68,
        64,  64,  64,  63,  63,  64,  65,  66,  66,  67,  67,  68,  68,  68,  69,  69,
        65,  65,  64,  64,  64,  65,  65,  66,  67,  67,  68,  68,  69,  69,  69,  69,
        65,  65,  65,  65,  64,  65,  66,  66,  67,  67,  68,  68,  69,  69,  69,  70,
        66,  66,  65,  65,  65,  66,  66,  67,  67,  68,  68,  69,  69,  69,  70,  70,
        67,  66,  66,  66,  65,  66,  67,  67,  68,  68,  68,  69,  69,  70,  70,  70,

        /*Size 64 x 64*/
        64,  64,  63,  63,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  62,  62,
        64,  63,  63,  63,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  62,  62,
        63,  63,  63,  62,  62,  62,  62,  61,  61,  61,  61,  61,  62,  62,  62,  62,
        63,  63,  62,  62,  62,  62,  62,  62,  61,  61,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  61,  62,  62,  62,  62,  63,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,  63,
        61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,  63,
        61,  61,  62,  62,  62,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,  64,
        61,  61,  62,  62,  62,  62,  62,  62,  62,  62,  63,  63,  63,  63,  64,  64,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  63,  63,  64,  64,  64,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  63,  64,  64,  64,  65,

        /*Size 128 x 128*/
        64,  64,  64,  63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  61,  61,  61,
        64,  64,  63,  63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  61,  61,  61,
        64,  63,  63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  61,  61,  61,
        63,  63,  63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  62,  61,  61,
        63,  63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  61,  61,
        63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  61,
        63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  61,
        63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        61,  61,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  62,  62,  62,  62

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        48,  50,  60,  68,  50,  59,  64,  69,  60,  64,  69,  72,  68,  69,  72,  73,

        /*Size 8 x 8*/
        52,  46,  48,  54,  59,  64,  68,  70,  46,  49,  48,  52,  57,  61,  65,  68,
        48,  48,  55,  58,  61,  64,  67,  69,  54,  52,  58,  63,  65,  67,  69,  71,
        59,  57,  61,  65,  68,  70,  71,  72,  64,  61,  64,  67,  70,  71,  72,  73,
        68,  65,  67,  69,  71,  72,  73,  74,  70,  68,  69,  71,  72,  73,  74,  74,

        /*Size 16 x 16*/
        52,  49,  46,  47,  48,  51,  54,  57,  59,  62,  64,  66,  68,  69,  70,  70,
        49,  48,  48,  48,  48,  50,  53,  55,  58,  60,  63,  64,  66,  68,  69,  69,
        46,  48,  49,  49,  48,  50,  52,  54,  57,  59,  61,  63,  65,  67,  68,  68,
        47,  48,  49,  50,  52,  53,  55,  57,  59,  61,  63,  64,  66,  67,  69,  69,
        48,  48,  48,  52,  55,  57,  58,  60,  61,  63,  64,  65,  67,  68,  69,  69,
        51,  50,  50,  53,  57,  59,  60,  62,  63,  64,  66,  67,  68,  69,  70,  70,
        54,  53,  52,  55,  58,  60,  63,  64,  65,  66,  67,  68,  69,  70,  71,  71,
        57,  55,  54,  57,  60,  62,  64,  65,  66,  67,  68,  69,  70,  71,  71,  71,
        59,  58,  57,  59,  61,  63,  65,  66,  68,  69,  70,  70,  71,  71,  72,  72,
        62,  60,  59,  61,  63,  64,  66,  67,  69,  69,  70,  71,  71,  72,  72,  72,
        64,  63,  61,  63,  64,  66,  67,  68,  70,  70,  71,  72,  72,  72,  73,  73,
        66,  64,  63,  64,  65,  67,  68,  69,  70,  71,  72,  72,  72,  73,  73,  73,
        68,  66,  65,  66,  67,  68,  69,  70,  71,  71,  72,  72,  73,  73,  74,  74,
        69,  68,  67,  67,  68,  69,  70,  71,  71,  72,  72,  73,  73,  73,  74,  74,
        70,  69,  68,  69,  69,  70,  71,  71,  72,  72,  73,  73,  74,  74,  74,  74,
        70,  69,  68,  69,  69,  70,  71,  71,  72,  72,  73,  73,  74,  74,  74,  74,

        /*Size 32 x 32*/
        52,  51,  49,  48,  46,  47,  47,  47,  48,  49,  51,  52,  54,  55,  57,  58,
        51,  50,  49,  48,  47,  47,  47,  48,  48,  49,  51,  52,  53,  55,  56,  57,
        49,  49,  48,  48,  48,  48,  48,  48,  48,  49,  50,  51,  53,  54,  55,  57,
        48,  48,  48,  48,  48,  48,  48,  48,  48,  49,  50,  51,  52,  53,  55,  56,
        46,  47,  48,  48,  49,  49,  49,  48,  48,  49,  50,  51,  52,  53,  54,  55,
        47,  47,  48,  48,  49,  49,  49,  50,  50,  51,  52,  52,  53,  54,  55,  57,
        47,  47,  48,  48,  49,  49,  50,  51,  52,  53,  53,  54,  55,  56,  57,  58,
        47,  48,  48,  48,  48,  50,  51,  52,  54,  54,  55,  56,  57,  57,  58,  59,
        48,  48,  48,  48,  48,  50,  52,  54,  55,  56,  57,  58,  58,  59,  60,  60,
        49,  49,  49,  49,  49,  51,  53,  54,  56,  57,  58,  58,  59,  60,  61,  61,
        51,  51,  50,  50,  50,  52,  53,  55,  57,  58,  59,  59,  60,  61,  62,  62,
        52,  52,  51,  51,  51,  52,  54,  56,  58,  58,  59,  60,  61,  62,  63,  63,
        54,  53,  53,  52,  52,  53,  55,  57,  58,  59,  60,  61,  63,  63,  64,  64,
        55,  55,  54,  53,  53,  54,  56,  57,  59,  60,  61,  62,  63,  64,  64,  65,
        57,  56,  55,  55,  54,  55,  57,  58,  60,  61,  62,  63,  64,  64,  65,  66,
        58,  57,  57,  56,  55,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  66,

        /*Size 64 x 64*/
        52,  52,  51,  50,  49,  49,  48,  47,  46,  46,  47,  47,  47,  47,  47,  48,
        52,  51,  50,  50,  49,  48,  48,  47,  47,  47,  47,  47,  47,  47,  48,  48,
        51,  50,  50,  49,  49,  48,  48,  47,  47,  47,  47,  47,  47,  48,  48,  48,
        50,  50,  49,  49,  49,  48,  48,  48,  47,  47,  47,  48,  48,  48,  48,  48,
        49,  49,  49,  49,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,
        49,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,
        48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,
        47,  47,  47,  48,  48,  48,  48,  48,  49,  49,  49,  48,  48,  48,  48,  48,
        46,  47,  47,  47,  48,  48,  48,  49,  49,  49,  49,  49,  49,  49,  48,  48,
        46,  47,  47,  47,  48,  48,  48,  49,  49,  49,  49,  49,  49,  49,  49,  49,
        47,  47,  47,  47,  48,  48,  48,  49,  49,  49,  49,  49,  49,  50,  50,  50,
        47,  47,  47,  48,  48,  48,  48,  48,  49,  49,  49,  50,  50,  50,  50,  51,
        47,  47,  47,  48,  48,  48,  48,  48,  49,  49,  49,  50,  50,  51,  51,  51,
        47,  47,  48,  48,  48,  48,  48,  48,  49,  49,  50,  50,  51,  51,  52,  52,
        47,  48,  48,  48,  48,  48,  48,  48,  48,  49,  50,  50,  51,  52,  52,  53,
        48,  48,  48,  48,  48,  48,  48,  48,  48,  49,  50,  51,  51,  52,  53,  54,

        /*Size 128 x 128*/
        52,  52,  52,  51,  51,  50,  50,  50,  49,  49,  49,  48,  48,  47,  47,  47,
        52,  52,  51,  51,  51,  50,  50,  49,  49,  49,  48,  48,  48,  47,  47,  47,
        52,  51,  51,  51,  50,  50,  50,  49,  49,  49,  48,  48,  48,  48,  47,  47,
        51,  51,  51,  50,  50,  50,  49,  49,  49,  49,  48,  48,  48,  48,  47,  47,
        51,  51,  50,  50,  50,  50,  49,  49,  49,  49,  48,  48,  48,  48,  47,  47,
        50,  50,  50,  50,  50,  49,  49,  49,  49,  49,  48,  48,  48,  48,  48,  47,
        50,  50,  50,  49,  49,  49,  49,  49,  49,  48,  48,  48,  48,  48,  48,  47,
        50,  49,  49,  49,  49,  49,  49,  49,  49,  48,  48,  48,  48,  48,  48,  48,
        49,  49,  49,  49,  49,  49,  49,  49,  48,  48,  48,  48,  48,  48,  48,  48,
        49,  49,  49,  49,  49,  49,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,
        49,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,
        48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,
        48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,
        47,  47,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,
        47,  47,  47,  47,  47,  48,  48,  48,  48,  48,  48,  48,  48,  48,  48,  49,
        47,  47,  47,  47,  47,  47,  47,  48,  48,  48,  48,  48,  48,  48,  49,  49

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        62,  71,  72,  76,  71,  74,  75,  77,  72,  75,  79,  81,  76,  77,  81,  83,

        /*Size 8 x 8*/
        64,  59,  72,  72,  73,  75,  77,  79,  59,  67,  71,  69,  70,  72,  74,  76,
        72,  71,  74,  74,  73,  74,  76,  77,  72,  69,  74,  76,  76,  77,  78,  79,
        73,  70,  73,  76,  78,  79,  80,  81,  75,  72,  74,  77,  79,  80,  81,  82,
        77,  74,  76,  78,  80,  81,  82,  83,  79,  76,  77,  79,  81,  82,  83,  84,

        /*Size 16 x 16*/
        64,  62,  59,  65,  72,  72,  72,  73,  73,  74,  75,  76,  77,  78,  79,  79,
        62,  62,  63,  67,  71,  71,  71,  71,  71,  72,  73,  74,  75,  76,  77,  77,
        59,  63,  67,  69,  71,  70,  69,  70,  70,  71,  72,  73,  74,  75,  76,  76,
        65,  67,  69,  71,  73,  72,  71,  71,  72,  72,  73,  74,  75,  76,  77,  77,
        72,  71,  71,  73,  74,  74,  74,  73,  73,  74,  74,  75,  76,  76,  77,  77,
        72,  71,  70,  72,  74,  74,  75,  75,  75,  75,  76,  76,  77,  77,  78,  78,
        72,  71,  69,  71,  74,  75,  76,  76,  76,  77,  77,  77,  78,  78,  79,  79,
        73,  71,  70,  71,  73,  75,  76,  77,  77,  78,  78,  78,  79,  79,  80,  80,
        73,  71,  70,  72,  73,  75,  76,  77,  78,  79,  79,  79,  80,  80,  81,  81,
        74,  72,  71,  72,  74,  75,  77,  78,  79,  79,  80,  80,  80,  81,  81,  81,
        75,  73,  72,  73,  74,  76,  77,  78,  79,  80,  80,  81,  81,  81,  82,  82,
        76,  74,  73,  74,  75,  76,  77,  78,  79,  80,  81,  81,  82,  82,  82,  82,
        77,  75,  74,  75,  76,  77,  78,  79,  80,  80,  81,  82,  82,  82,  83,  83,
        78,  76,  75,  76,  76,  77,  78,  79,  80,  81,  81,  82,  82,  83,  83,  83,
        79,  77,  76,  77,  77,  78,  79,  80,  81,  81,  82,  82,  83,  83,  84,  84,
        79,  77,  76,  77,  77,  78,  79,  80,  81,  81,  82,  82,  83,  83,  84,  84,

        /*Size 32 x 32*/
        64,  63,  62,  60,  59,  62,  65,  68,  72,  72,  72,  72,  72,  72,  73,  73,
        63,  62,  62,  62,  61,  64,  66,  69,  71,  71,  71,  71,  71,  72,  72,  72,
        62,  62,  62,  63,  63,  65,  67,  69,  71,  71,  71,  71,  71,  71,  71,  71,
        60,  62,  63,  64,  65,  67,  68,  70,  71,  71,  71,  70,  70,  70,  70,  70,
        59,  61,  63,  65,  67,  68,  69,  70,  71,  71,  70,  70,  69,  69,  70,  70,
        62,  64,  65,  67,  68,  69,  70,  71,  72,  72,  71,  71,  70,  70,  70,  71,
        65,  66,  67,  68,  69,  70,  71,  72,  73,  72,  72,  72,  71,  71,  71,  71,
        68,  69,  69,  70,  70,  71,  72,  73,  73,  73,  73,  73,  72,  72,  72,  72,
        72,  71,  71,  71,  71,  72,  73,  73,  74,  74,  74,  74,  74,  73,  73,  73,
        72,  71,  71,  71,  71,  72,  72,  73,  74,  74,  74,  74,  74,  74,  74,  74,
        72,  71,  71,  71,  70,  71,  72,  73,  74,  74,  74,  74,  75,  75,  75,  75,
        72,  71,  71,  70,  70,  71,  72,  73,  74,  74,  74,  75,  75,  75,  75,  75,
        72,  71,  71,  70,  69,  70,  71,  72,  74,  74,  75,  75,  76,  76,  76,  76,
        72,  72,  71,  70,  69,  70,  71,  72,  73,  74,  75,  75,  76,  76,  76,  76,
        73,  72,  71,  70,  70,  70,  71,  72,  73,  74,  75,  75,  76,  76,  77,  77,
        73,  72,  71,  70,  70,  71,  71,  72,  73,  74,  75,  75,  76,  76,  77,  77,

        /*Size 64 x 64*/
        64,  63,  63,  62,  62,  61,  60,  60,  59,  61,  62,  64,  65,  67,  68,  70,
        63,  63,  63,  62,  62,  61,  61,  61,  60,  62,  63,  64,  66,  67,  69,  70,
        63,  63,  62,  62,  62,  62,  62,  61,  61,  63,  64,  65,  66,  68,  69,  70,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  65,  66,  67,  68,  69,  70,
        62,  62,  62,  62,  62,  63,  63,  63,  63,  64,  65,  66,  67,  68,  69,  70,
        61,  61,  62,  62,  63,  63,  63,  64,  64,  65,  66,  67,  68,  69,  70,  70,
        60,  61,  62,  62,  63,  63,  64,  65,  65,  66,  67,  68,  68,  69,  70,  71,
        60,  61,  61,  62,  63,  64,  65,  65,  66,  67,  68,  68,  69,  69,  70,  71,
        59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  68,  69,  69,  70,  70,  71,
        61,  62,  63,  63,  64,  65,  66,  67,  68,  68,  69,  69,  70,  70,  71,  71,
        62,  63,  64,  65,  65,  66,  67,  68,  68,  69,  69,  70,  70,  71,  71,  71,
        64,  64,  65,  66,  66,  67,  68,  68,  69,  69,  70,  70,  71,  71,  71,  72,
        65,  66,  66,  67,  67,  68,  68,  69,  69,  70,  70,  71,  71,  71,  72,  72,
        67,  67,  68,  68,  68,  69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  73,
        68,  69,  69,  69,  69,  70,  70,  70,  70,  71,  71,  71,  72,  72,  73,  73,
        70,  70,  70,  70,  70,  70,  71,  71,  71,  71,  71,  72,  72,  73,  73,  73,

        /*Size 128 x 128*/
        64,  64,  63,  63,  63,  63,  62,  62,  62,  61,  61,  61,  60,  60,  60,  60,
        64,  63,  63,  63,  63,  62,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,
        63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  60,
        63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,
        63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  61,  61,
        63,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  63,  63,  63,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,  63,  63,
        61,  61,  62,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,  63,  63,  64,
        61,  61,  61,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,  64,  64,  64,
        61,  61,  61,  61,  62,  62,  62,  62,  63,  63,  63,  63,  64,  64,  64,  64,
        60,  61,  61,  61,  62,  62,  62,  63,  63,  63,  63,  64,  64,  64,  65,  65,
        60,  60,  61,  61,  62,  62,  62,  63,  63,  63,  64,  64,  64,  65,  65,  65,
        60,  60,  61,  61,  61,  62,  62,  63,  63,  63,  64,  64,  65,  65,  65,  66,
        60,  60,  60,  61,  61,  62,  62,  63,  63,  64,  64,  64,  65,  65,  66,  66

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        56,  62,  62,  65,  62,  63,  64,  65,  62,  64,  66,  67,  65,  65,  67,  68,

        /*Size 8 x 8*/
        57,  54,  62,  62,  63,  64,  65,  66,  54,  59,  62,  61,  61,  62,  63,  64,
        62,  62,  63,  63,  63,  64,  64,  65,  62,  61,  63,  64,  65,  65,  66,  66,
        63,  61,  63,  65,  66,  66,  67,  67,  64,  62,  64,  65,  66,  67,  67,  68,
        65,  63,  64,  66,  67,  67,  68,  68,  66,  64,  65,  66,  67,  68,  68,  69,

        /*Size 16 x 16*/
        57,  56,  54,  58,  62,  62,  62,  62,  63,  63,  64,  64,  65,  66,  66,  66,
        56,  56,  57,  59,  62,  62,  61,  62,  62,  62,  63,  64,  64,  65,  65,  65,
        54,  57,  59,  61,  62,  61,  61,  61,  61,  62,  62,  63,  63,  64,  64,  64,
        58,  59,  61,  62,  63,  62,  62,  62,  62,  62,  63,  63,  64,  64,  65,  65,
        62,  62,  62,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  65,  65,  65,
        62,  62,  61,  62,  63,  63,  64,  64,  64,  64,  64,  65,  65,  65,  66,  66,
        62,  61,  61,  62,  63,  64,  64,  64,  65,  65,  65,  65,  66,  66,  66,  66,
        62,  62,  61,  62,  63,  64,  64,  65,  65,  65,  66,  66,  66,  66,  66,  66,
        63,  62,  61,  62,  63,  64,  65,  65,  66,  66,  66,  66,  67,  67,  67,  67,
        63,  62,  62,  62,  63,  64,  65,  65,  66,  66,  66,  67,  67,  67,  67,  67,
        64,  63,  62,  63,  64,  64,  65,  66,  66,  66,  67,  67,  67,  67,  68,  68,
        64,  64,  63,  63,  64,  65,  65,  66,  66,  67,  67,  67,  68,  68,  68,  68,
        65,  64,  63,  64,  64,  65,  66,  66,  67,  67,  67,  68,  68,  68,  68,  68,
        66,  65,  64,  64,  65,  65,  66,  66,  67,  67,  67,  68,  68,  68,  68,  68,
        66,  65,  64,  65,  65,  66,  66,  66,  67,  67,  68,  68,  68,  68,  69,  69,
        66,  65,  64,  65,  65,  66,  66,  66,  67,  67,  68,  68,  68,  68,  69,  69,

        /*Size 32 x 32*/
        57,  57,  56,  55,  54,  56,  58,  60,  62,  62,  62,  62,  62,  62,  62,  63,
        57,  56,  56,  56,  56,  57,  59,  60,  62,  62,  62,  62,  62,  62,  62,  62,
        56,  56,  56,  57,  57,  58,  59,  61,  62,  62,  62,  61,  61,  61,  62,  62,
        55,  56,  57,  57,  58,  59,  60,  61,  62,  62,  61,  61,  61,  61,  61,  61,
        54,  56,  57,  58,  59,  60,  61,  61,  62,  61,  61,  61,  61,  61,  61,  61,
        56,  57,  58,  59,  60,  60,  61,  62,  62,  62,  62,  61,  61,  61,  61,  61,
        58,  59,  59,  60,  61,  61,  62,  62,  63,  62,  62,  62,  62,  62,  62,  62,
        60,  60,  61,  61,  61,  62,  62,  62,  63,  63,  63,  63,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        62,  62,  62,  62,  61,  62,  62,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        62,  62,  62,  61,  61,  62,  62,  63,  63,  63,  63,  63,  64,  64,  64,  64,
        62,  62,  61,  61,  61,  61,  62,  63,  63,  63,  63,  64,  64,  64,  64,  64,
        62,  62,  61,  61,  61,  61,  62,  62,  63,  63,  64,  64,  64,  64,  64,  64,
        62,  62,  61,  61,  61,  61,  62,  62,  63,  63,  64,  64,  64,  64,  64,  65,
        62,  62,  62,  61,  61,  61,  62,  62,  63,  63,  64,  64,  64,  64,  65,  65,
        63,  62,  62,  61,  61,  61,  62,  62,  63,  63,  64,  64,  64,  65,  65,  65,

        /*Size 64 x 64*/
        57,  57,  57,  56,  56,  55,  55,  55,  54,  55,  56,  57,  58,  59,  60,  61,
        57,  57,  56,  56,  56,  56,  55,  55,  55,  56,  57,  57,  58,  59,  60,  61,
        57,  56,  56,  56,  56,  56,  56,  56,  56,  56,  57,  58,  59,  59,  60,  61,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  57,  58,  58,  59,  60,  60,  61,
        56,  56,  56,  56,  56,  56,  57,  57,  57,  57,  58,  59,  59,  60,  61,  61,
        55,  56,  56,  56,  56,  57,  57,  57,  57,  58,  58,  59,  60,  60,  61,  61,
        55,  55,  56,  56,  57,  57,  57,  58,  58,  58,  59,  59,  60,  60,  61,  61,
        55,  55,  56,  56,  57,  57,  58,  58,  59,  59,  59,  60,  60,  61,  61,  61,
        54,  55,  56,  56,  57,  57,  58,  59,  59,  60,  60,  60,  61,  61,  61,  61,
        55,  56,  56,  57,  57,  58,  58,  59,  60,  60,  60,  60,  61,  61,  61,  62,
        56,  57,  57,  58,  58,  58,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,
        57,  57,  58,  58,  59,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,  62,
        58,  58,  59,  59,  59,  60,  60,  60,  61,  61,  61,  61,  62,  62,  62,  62,
        59,  59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  62,  62,  62,  62,  62,
        60,  60,  60,  60,  61,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  63,
        61,  61,  61,  61,  61,  61,  61,  61,  61,  62,  62,  62,  62,  62,  63,  63,

        /*Size 128 x 128*/
        57,  57,  57,  57,  57,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,  54,
        57,  57,  57,  57,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,
        57,  57,  57,  57,  56,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,
        57,  57,  57,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,
        57,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  57,  57,  57,  57,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  57,  57,  57,  57,  57,  57,
        55,  56,  56,  56,  56,  56,  56,  56,  56,  57,  57,  57,  57,  57,  57,  57,
        55,  55,  56,  56,  56,  56,  56,  56,  56,  57,  57,  57,  57,  57,  57,  58,
        55,  55,  55,  56,  56,  56,  56,  56,  57,  57,  57,  57,  57,  57,  58,  58,
        55,  55,  55,  55,  56,  56,  56,  56,  57,  57,  57,  57,  57,  58,  58,  58,
        55,  55,  55,  55,  56,  56,  56,  56,  57,  57,  57,  57,  58,  58,  58,  58,
        54,  55,  55,  55,  56,  56,  56,  56,  57,  57,  57,  58,  58,  58,  58,  59

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        62,  72,  74,  78,  72,  76,  77,  79,  74,  77,  81,  83,  78,  79,  83,  85,

        /*Size 8 x 8*/
        64,  59,  72,  74,  75,  77,  79,  81,  59,  67,  73,  71,  72,  74,  76,  78,
        72,  73,  76,  75,  75,  76,  78,  79,  74,  71,  75,  77,  78,  79,  80,  81,
        75,  72,  75,  78,  80,  81,  82,  82,  77,  74,  76,  79,  81,  82,  83,  84,
        79,  76,  78,  80,  82,  83,  84,  85,  81,  78,  79,  81,  82,  84,  85,  85,

        /*Size 16 x 16*/
        64,  62,  59,  66,  72,  73,  74,  74,  75,  76,  77,  78,  79,  80,  81,  81,
        62,  62,  63,  68,  73,  72,  72,  73,  73,  74,  75,  76,  77,  78,  79,  79,
        59,  63,  67,  70,  73,  72,  71,  71,  72,  73,  74,  75,  76,  77,  78,  78,
        66,  68,  70,  72,  74,  74,  73,  73,  74,  74,  75,  76,  77,  77,  78,  78,
        72,  73,  73,  74,  76,  76,  75,  75,  75,  76,  76,  77,  78,  78,  79,  79,
        73,  72,  72,  74,  76,  76,  76,  76,  77,  77,  77,  78,  79,  79,  80,  80,
        74,  72,  71,  73,  75,  76,  77,  78,  78,  78,  79,  79,  80,  80,  81,  81,
        74,  73,  71,  73,  75,  76,  78,  78,  79,  79,  80,  80,  81,  81,  81,  81,
        75,  73,  72,  74,  75,  77,  78,  79,  80,  80,  81,  81,  82,  82,  82,  82,
        76,  74,  73,  74,  76,  77,  78,  79,  80,  81,  81,  82,  82,  83,  83,  83,
        77,  75,  74,  75,  76,  77,  79,  80,  81,  81,  82,  82,  83,  83,  84,  84,
        78,  76,  75,  76,  77,  78,  79,  80,  81,  82,  82,  83,  83,  84,  84,  84,
        79,  77,  76,  77,  78,  79,  80,  81,  82,  82,  83,  83,  84,  84,  85,  85,
        80,  78,  77,  77,  78,  79,  80,  81,  82,  83,  83,  84,  84,  85,  85,  85,
        81,  79,  78,  78,  79,  80,  81,  81,  82,  83,  84,  84,  85,  85,  85,  85,
        81,  79,  78,  78,  79,  80,  81,  81,  82,  83,  84,  84,  85,  85,  85,  85,

        /*Size 32 x 32*/
        64,  63,  62,  60,  59,  62,  66,  69,  72,  72,  73,  73,  74,  74,  74,  75,
        63,  62,  62,  61,  61,  64,  67,  69,  72,  72,  73,  73,  73,  73,  74,  74,
        62,  62,  62,  63,  63,  65,  68,  70,  73,  72,  72,  72,  72,  73,  73,  73,
        60,  61,  63,  64,  65,  67,  69,  71,  73,  72,  72,  72,  72,  72,  72,  72,
        59,  61,  63,  65,  67,  69,  70,  72,  73,  73,  72,  72,  71,  71,  71,  72,
        62,  64,  65,  67,  69,  70,  71,  72,  74,  73,  73,  72,  72,  72,  72,  72,
        66,  67,  68,  69,  70,  71,  72,  73,  74,  74,  74,  73,  73,  73,  73,  73,
        69,  69,  70,  71,  72,  72,  73,  74,  75,  75,  75,  74,  74,  74,  74,  74,
        72,  72,  73,  73,  73,  74,  74,  75,  76,  76,  76,  75,  75,  75,  75,  75,
        72,  72,  72,  72,  73,  73,  74,  75,  76,  76,  76,  76,  76,  76,  76,  76,
        73,  73,  72,  72,  72,  73,  74,  75,  76,  76,  76,  76,  76,  76,  76,  77,
        73,  73,  72,  72,  72,  72,  73,  74,  75,  76,  76,  76,  77,  77,  77,  77,
        74,  73,  72,  72,  71,  72,  73,  74,  75,  76,  76,  77,  77,  77,  78,  78,
        74,  73,  73,  72,  71,  72,  73,  74,  75,  76,  76,  77,  77,  78,  78,  78,
        74,  74,  73,  72,  71,  72,  73,  74,  75,  76,  76,  77,  78,  78,  78,  79,
        75,  74,  73,  72,  72,  72,  73,  74,  75,  76,  77,  77,  78,  78,  79,  79,

        /*Size 64 x 64*/
        64,  63,  63,  62,  62,  61,  60,  60,  59,  61,  62,  64,  66,  67,  69,  70,
        63,  63,  63,  62,  62,  61,  61,  60,  60,  62,  63,  65,  66,  68,  69,  71,
        63,  63,  62,  62,  62,  62,  61,  61,  61,  62,  64,  65,  67,  68,  69,  71,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  65,  66,  67,  69,  70,  71,
        62,  62,  62,  62,  62,  63,  63,  63,  63,  64,  65,  67,  68,  69,  70,  71,
        61,  61,  62,  62,  63,  63,  63,  64,  64,  65,  66,  67,  68,  69,  71,  72,
        60,  61,  61,  62,  63,  63,  64,  65,  65,  66,  67,  68,  69,  70,  71,  72,
        60,  60,  61,  62,  63,  64,  65,  65,  66,  67,  68,  69,  70,  70,  71,  72,
        59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,  69,  70,  71,  72,  72,
        61,  62,  62,  63,  64,  65,  66,  67,  68,  69,  69,  70,  71,  71,  72,  73,
        62,  63,  64,  65,  65,  66,  67,  68,  69,  69,  70,  71,  71,  72,  72,  73,
        64,  65,  65,  66,  67,  67,  68,  69,  69,  70,  71,  71,  72,  72,  73,  73,
        66,  66,  67,  67,  68,  68,  69,  70,  70,  71,  71,  72,  72,  73,  73,  74,
        67,  68,  68,  69,  69,  69,  70,  70,  71,  71,  72,  72,  73,  73,  74,  74,
        69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  72,  73,  73,  74,  74,  75,
        70,  71,  71,  71,  71,  72,  72,  72,  72,  73,  73,  73,  74,  74,  75,  75,

        /*Size 128 x 128*/
        64,  64,  63,  63,  63,  62,  62,  62,  62,  61,  61,  61,  60,  60,  60,  59,
        64,  63,  63,  63,  63,  62,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,
        63,  63,  63,  63,  63,  62,  62,  62,  62,  61,  61,  61,  61,  61,  60,  60,
        63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,
        63,  63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  63,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,  63,
        61,  61,  61,  62,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,  63,  63,
        61,  61,  61,  61,  62,  62,  62,  62,  63,  63,  63,  63,  63,  64,  64,  64,
        61,  61,  61,  61,  62,  62,  62,  62,  63,  63,  63,  63,  64,  64,  64,  64,
        60,  61,  61,  61,  61,  62,  62,  62,  63,  63,  63,  64,  64,  64,  65,  65,
        60,  60,  61,  61,  61,  62,  62,  62,  63,  63,  64,  64,  64,  65,  65,  65,
        60,  60,  60,  61,  61,  62,  62,  63,  63,  63,  64,  64,  65,  65,  65,  66,
        59,  60,  60,  61,  61,  62,  62,  63,  63,  63,  64,  64,  65,  65,  66,  66

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        55,  62,  63,  65,  62,  63,  64,  65,  63,  64,  66,  67,  65,  65,  67,  68,

        /*Size 8 x 8*/
        57,  53,  61,  62,  63,  64,  65,  66,  53,  59,  62,  61,  61,  62,  63,  65,
        61,  62,  64,  63,  63,  64,  64,  65,  62,  61,  63,  64,  65,  65,  66,  66,
        63,  61,  63,  65,  66,  66,  67,  67,  64,  62,  64,  65,  66,  67,  67,  68,
        65,  63,  64,  66,  67,  67,  68,  68,  66,  65,  65,  66,  67,  68,  68,  69,

        /*Size 16 x 16*/
        57,  55,  53,  57,  61,  62,  62,  63,  63,  64,  64,  65,  65,  66,  66,  66,
        55,  55,  56,  59,  62,  62,  62,  62,  62,  63,  63,  64,  64,  65,  65,  65,
        53,  56,  59,  60,  62,  61,  61,  61,  61,  62,  62,  63,  63,  64,  65,  65,
        57,  59,  60,  61,  63,  62,  62,  62,  62,  62,  63,  63,  64,  64,  65,  65,
        61,  62,  62,  63,  64,  63,  63,  63,  63,  63,  64,  64,  64,  65,  65,  65,
        62,  62,  61,  62,  63,  63,  64,  64,  64,  64,  64,  65,  65,  65,  66,  66,
        62,  62,  61,  62,  63,  64,  64,  64,  65,  65,  65,  65,  66,  66,  66,  66,
        63,  62,  61,  62,  63,  64,  64,  65,  65,  65,  66,  66,  66,  66,  66,  66,
        63,  62,  61,  62,  63,  64,  65,  65,  66,  66,  66,  66,  67,  67,  67,  67,
        64,  63,  62,  62,  63,  64,  65,  65,  66,  66,  66,  67,  67,  67,  67,  67,
        64,  63,  62,  63,  64,  64,  65,  66,  66,  66,  67,  67,  67,  67,  68,  68,
        65,  64,  63,  63,  64,  65,  65,  66,  66,  67,  67,  67,  68,  68,  68,  68,
        65,  64,  63,  64,  64,  65,  66,  66,  67,  67,  67,  68,  68,  68,  68,  68,
        66,  65,  64,  64,  65,  65,  66,  66,  67,  67,  67,  68,  68,  68,  68,  68,
        66,  65,  65,  65,  65,  66,  66,  66,  67,  67,  68,  68,  68,  68,  69,  69,
        66,  65,  65,  65,  65,  66,  66,  66,  67,  67,  68,  68,  68,  68,  69,  69,

        /*Size 32 x 32*/
        57,  56,  55,  54,  53,  55,  57,  59,  61,  62,  62,  62,  62,  62,  63,  63,
        56,  55,  55,  55,  55,  56,  58,  60,  61,  62,  62,  62,  62,  62,  62,  62,
        55,  55,  55,  56,  56,  57,  59,  60,  62,  62,  62,  62,  62,  62,  62,  62,
        54,  55,  56,  56,  57,  58,  59,  61,  62,  62,  61,  61,  61,  61,  61,  61,
        53,  55,  56,  57,  59,  59,  60,  61,  62,  62,  61,  61,  61,  61,  61,  61,
        55,  56,  57,  58,  59,  60,  61,  61,  62,  62,  62,  62,  61,  61,  61,  61,
        57,  58,  59,  59,  60,  61,  61,  62,  63,  62,  62,  62,  62,  62,  62,  62,
        59,  60,  60,  61,  61,  61,  62,  63,  63,  63,  63,  63,  62,  62,  62,  62,
        61,  61,  62,  62,  62,  62,  63,  63,  64,  63,  63,  63,  63,  63,  63,  63,
        62,  62,  62,  62,  62,  62,  62,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        62,  62,  62,  61,  61,  62,  62,  63,  63,  63,  63,  64,  64,  64,  64,  64,
        62,  62,  62,  61,  61,  62,  62,  63,  63,  63,  64,  64,  64,  64,  64,  64,
        62,  62,  62,  61,  61,  61,  62,  62,  63,  63,  64,  64,  64,  64,  64,  64,
        62,  62,  62,  61,  61,  61,  62,  62,  63,  63,  64,  64,  64,  64,  65,  65,
        63,  62,  62,  61,  61,  61,  62,  62,  63,  63,  64,  64,  64,  65,  65,  65,
        63,  62,  62,  61,  61,  61,  62,  62,  63,  63,  64,  64,  64,  65,  65,  65,

        /*Size 64 x 64*/
        57,  56,  56,  55,  55,  54,  54,  54,  53,  54,  55,  56,  57,  58,  59,  60,
        56,  56,  56,  55,  55,  55,  54,  54,  54,  55,  56,  57,  58,  59,  59,  60,
        56,  56,  55,  55,  55,  55,  55,  55,  55,  55,  56,  57,  58,  59,  60,  61,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  56,  57,  58,  58,  59,  60,  61,
        55,  55,  55,  55,  55,  56,  56,  56,  56,  57,  57,  58,  59,  59,  60,  61,
        54,  55,  55,  55,  56,  56,  56,  56,  57,  57,  58,  58,  59,  60,  60,  61,
        54,  54,  55,  55,  56,  56,  56,  57,  57,  58,  58,  59,  59,  60,  61,  61,
        54,  54,  55,  55,  56,  56,  57,  57,  58,  58,  59,  59,  60,  60,  61,  61,
        53,  54,  55,  55,  56,  57,  57,  58,  59,  59,  59,  60,  60,  61,  61,  61,
        54,  55,  55,  56,  57,  57,  58,  58,  59,  59,  60,  60,  60,  61,  61,  62,
        55,  56,  56,  57,  57,  58,  58,  59,  59,  60,  60,  60,  61,  61,  61,  62,
        56,  57,  57,  58,  58,  58,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,
        57,  58,  58,  58,  59,  59,  59,  60,  60,  60,  61,  61,  61,  62,  62,  62,
        58,  59,  59,  59,  59,  60,  60,  60,  61,  61,  61,  61,  62,  62,  62,  63,
        59,  59,  60,  60,  60,  60,  61,  61,  61,  61,  61,  62,  62,  62,  63,  63,
        60,  60,  61,  61,  61,  61,  61,  61,  61,  62,  62,  62,  62,  63,  63,  63,

        /*Size 128 x 128*/
        57,  56,  56,  56,  56,  55,  55,  55,  55,  55,  54,  54,  54,  54,  54,  53,
        56,  56,  56,  56,  56,  55,  55,  55,  55,  55,  55,  54,  54,  54,  54,  54,
        56,  56,  56,  56,  56,  55,  55,  55,  55,  55,  55,  55,  54,  54,  54,  54,
        56,  56,  56,  56,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  54,  54,
        56,  56,  56,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  56,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,
        54,  55,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,  56,
        54,  54,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  57,  57,
        54,  54,  54,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  57,  57,  57,
        54,  54,  54,  55,  55,  55,  55,  55,  56,  56,  56,  56,  57,  57,  57,  57,
        54,  54,  54,  54,  55,  55,  55,  55,  56,  56,  56,  57,  57,  57,  57,  58,
        53,  54,  54,  54,  55,  55,  55,  56,  56,  56,  56,  57,  57,  57,  58,  58

      }
    }
  },
  {
    /* QM level 10*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        56,  57,  62,  66,  57,  62,  65,  67,  62,  65,  67,  68,  66,  67,  68,  69,

        /*Size 8 x 8*/
        58,  54,  56,  59,  62,  64,  66,  67,  54,  56,  56,  58,  61,  63,  65,  66,
        56,  56,  60,  62,  63,  65,  66,  67,  59,  58,  62,  64,  65,  66,  67,  67,
        62,  61,  63,  65,  66,  67,  68,  68,  64,  63,  65,  66,  67,  68,  68,  68,
        66,  65,  66,  67,  68,  68,  69,  69,  67,  66,  67,  67,  68,  68,  69,  69,

        /*Size 16 x 16*/
        58,  56,  54,  55,  56,  57,  59,  61,  62,  63,  64,  65,  66,  67,  67,  67,
        56,  56,  55,  55,  56,  57,  58,  60,  61,  62,  64,  65,  65,  66,  67,  67,
        54,  55,  56,  56,  56,  57,  58,  59,  61,  62,  63,  64,  65,  66,  66,  66,
        55,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  65,  66,  67,  67,
        56,  56,  56,  58,  60,  61,  62,  62,  63,  64,  65,  65,  66,  66,  67,  67,
        57,  57,  57,  59,  61,  62,  63,  63,  64,  65,  65,  66,  66,  67,  67,  67,
        59,  58,  58,  60,  62,  63,  64,  64,  65,  65,  66,  66,  67,  67,  67,  67,
        61,  60,  59,  61,  62,  63,  64,  65,  66,  66,  66,  67,  67,  67,  68,  68,
        62,  61,  61,  62,  63,  64,  65,  66,  66,  67,  67,  67,  68,  68,  68,  68,
        63,  62,  62,  63,  64,  65,  65,  66,  67,  67,  67,  68,  68,  68,  68,  68,
        64,  64,  63,  64,  65,  65,  66,  66,  67,  67,  68,  68,  68,  68,  68,  68,
        65,  65,  64,  65,  65,  66,  66,  67,  67,  68,  68,  68,  68,  68,  69,  69,
        66,  65,  65,  65,  66,  66,  67,  67,  68,  68,  68,  68,  69,  69,  69,  69,
        67,  66,  66,  66,  66,  67,  67,  67,  68,  68,  68,  68,  69,  69,  69,  69,
        67,  67,  66,  67,  67,  67,  67,  68,  68,  68,  68,  69,  69,  69,  69,  69,
        67,  67,  66,  67,  67,  67,  67,  68,  68,  68,  68,  69,  69,  69,  69,  69,

        /*Size 32 x 32*/
        58,  57,  56,  55,  54,  55,  55,  55,  56,  56,  57,  58,  59,  60,  61,  61,
        57,  56,  56,  55,  55,  55,  55,  55,  56,  56,  57,  58,  59,  59,  60,  61,
        56,  56,  56,  55,  55,  55,  55,  55,  56,  56,  57,  58,  58,  59,  60,  61,
        55,  55,  55,  56,  56,  56,  56,  56,  56,  56,  57,  57,  58,  59,  59,  60,
        54,  55,  55,  56,  56,  56,  56,  56,  56,  56,  57,  57,  58,  58,  59,  60,
        55,  55,  55,  56,  56,  56,  56,  56,  57,  57,  58,  58,  59,  59,  60,  61,
        55,  55,  55,  56,  56,  56,  57,  57,  58,  58,  59,  59,  60,  60,  61,  61,
        55,  55,  55,  56,  56,  56,  57,  58,  59,  59,  60,  60,  61,  61,  61,  62,
        56,  56,  56,  56,  56,  57,  58,  59,  60,  60,  61,  61,  62,  62,  62,  63,
        56,  56,  56,  56,  56,  57,  58,  59,  60,  61,  61,  62,  62,  62,  63,  63,
        57,  57,  57,  57,  57,  58,  59,  60,  61,  61,  62,  62,  63,  63,  63,  64,
        58,  58,  58,  57,  57,  58,  59,  60,  61,  62,  62,  63,  63,  64,  64,  64,
        59,  59,  58,  58,  58,  59,  60,  61,  62,  62,  63,  63,  64,  64,  64,  65,
        60,  59,  59,  59,  58,  59,  60,  61,  62,  62,  63,  64,  64,  64,  65,  65,
        61,  60,  60,  59,  59,  60,  61,  61,  62,  63,  63,  64,  64,  65,  65,  65,
        61,  61,  61,  60,  60,  61,  61,  62,  63,  63,  64,  64,  65,  65,  65,  65,

        /*Size 64 x 64*/
        58,  58,  57,  57,  56,  56,  55,  55,  54,  54,  55,  55,  55,  55,  55,  55,
        58,  57,  57,  56,  56,  56,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,
        57,  57,  56,  56,  56,  56,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,
        57,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,
        56,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,  55,  55,  55,  55,  55,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        54,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        54,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  57,
        55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,  57,  57,  57,  57,
        55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  57,  57,  57,  57,  57,
        55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  57,  57,  57,  58,  58,
        55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  57,  57,  58,  58,  58,
        55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  57,  57,  57,  58,  58,  59,

        /*Size 128 x 128*/
        58,  58,  58,  57,  57,  57,  57,  56,  56,  56,  56,  55,  55,  55,  55,  54,
        58,  58,  57,  57,  57,  57,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,
        58,  57,  57,  57,  57,  57,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,
        57,  57,  57,  57,  57,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,
        57,  57,  57,  57,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,
        57,  57,  57,  56,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,
        57,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,  55,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,  55,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  55,  55,  55,
        56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        55,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,  56,  56,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,  56,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,
        55,  55,  55,  55,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56,
        54,  55,  55,  55,  55,  55,  55,  55,  55,  55,  56,  56,  56,  56,  56,  56

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        63,  66,  67,  68,  66,  67,  68,  68,  67,  68,  69,  69,  68,  68,  69,  70,

        /*Size 8 x 8*/
        64,  62,  67,  67,  67,  68,  68,  69,  62,  65,  67,  66,  66,  67,  67,  68,
        67,  67,  67,  67,  67,  68,  68,  68,  67,  66,  67,  68,  68,  68,  69,  69,
        67,  66,  67,  68,  69,  69,  69,  69,  68,  67,  68,  68,  69,  69,  69,  70,
        68,  67,  68,  69,  69,  69,  70,  70,  69,  68,  68,  69,  69,  70,  70,  70,

        /*Size 16 x 16*/
        64,  63,  62,  64,  67,  67,  67,  67,  67,  67,  68,  68,  68,  69,  69,  69,
        63,  63,  64,  65,  67,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  68,
        62,  64,  65,  66,  67,  66,  66,  66,  66,  66,  67,  67,  67,  68,  68,  68,
        64,  65,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,
        67,  66,  66,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  68,  69,  69,
        67,  66,  66,  67,  67,  68,  68,  68,  68,  68,  68,  68,  69,  69,  69,  69,
        67,  66,  66,  67,  67,  68,  68,  68,  68,  68,  69,  69,  69,  69,  69,  69,
        67,  67,  66,  67,  67,  68,  68,  68,  69,  69,  69,  69,  69,  69,  69,  69,
        67,  67,  66,  67,  67,  68,  68,  68,  69,  69,  69,  69,  69,  69,  69,  69,
        68,  67,  67,  67,  68,  68,  68,  69,  69,  69,  69,  69,  69,  69,  70,  70,
        68,  67,  67,  67,  68,  68,  68,  69,  69,  69,  69,  69,  69,  70,  70,  70,
        68,  68,  67,  68,  68,  68,  69,  69,  69,  69,  69,  69,  70,  70,  70,  70,
        69,  68,  68,  68,  68,  68,  69,  69,  69,  69,  69,  70,  70,  70,  70,  70,
        69,  68,  68,  68,  68,  69,  69,  69,  69,  69,  70,  70,  70,  70,  70,  70,
        69,  68,  68,  68,  68,  69,  69,  69,  69,  69,  70,  70,  70,  70,  70,  70,

        /*Size 32 x 32*/
        64,  64,  63,  63,  62,  63,  64,  65,  67,  67,  67,  67,  67,  67,  67,  67,
        64,  63,  63,  63,  63,  64,  65,  66,  67,  67,  67,  67,  67,  67,  67,  67,
        63,  63,  63,  64,  64,  64,  65,  66,  67,  66,  66,  66,  66,  66,  66,  66,
        63,  63,  64,  64,  64,  65,  65,  66,  67,  66,  66,  66,  66,  66,  66,  66,
        62,  63,  64,  64,  65,  65,  66,  66,  67,  66,  66,  66,  66,  66,  66,  66,
        63,  64,  64,  65,  65,  66,  66,  66,  67,  67,  66,  66,  66,  66,  66,  66,
        64,  65,  65,  65,  66,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  67,
        65,  66,  66,  66,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,
        67,  67,  66,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,
        67,  67,  66,  66,  66,  66,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,
        67,  67,  66,  66,  66,  66,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,
        67,  67,  66,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,
        67,  67,  66,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,
        67,  67,  66,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,
        67,  67,  66,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,

        /*Size 64 x 64*/
        64,  64,  64,  63,  63,  63,  63,  62,  62,  63,  63,  64,  64,  65,  65,  66,
        64,  64,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  65,  65,  66,  66,
        64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  65,  65,  66,  66,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  65,  65,  66,  66,
        63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  65,  65,  65,  66,  66,
        63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  65,  65,  65,  66,  66,  66,
        63,  63,  63,  63,  64,  64,  64,  64,  64,  65,  65,  65,  65,  66,  66,  66,
        62,  63,  63,  63,  64,  64,  64,  64,  65,  65,  65,  65,  66,  66,  66,  66,
        62,  63,  63,  63,  64,  64,  64,  65,  65,  65,  65,  66,  66,  66,  66,  66,
        63,  63,  63,  64,  64,  64,  65,  65,  65,  65,  66,  66,  66,  66,  66,  66,
        63,  64,  64,  64,  64,  65,  65,  65,  65,  66,  66,  66,  66,  66,  66,  67,
        64,  64,  64,  64,  65,  65,  65,  65,  66,  66,  66,  66,  66,  66,  66,  67,
        64,  65,  65,  65,  65,  65,  65,  66,  66,  66,  66,  66,  66,  66,  67,  67,
        65,  65,  65,  65,  65,  66,  66,  66,  66,  66,  66,  66,  66,  67,  67,  67,
        65,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,  67,  67,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  62,  62,
        64,  64,  64,  64,  64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        64,  64,  64,  64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        64,  64,  64,  64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        64,  64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  64,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  64,
        63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  64,  64,
        63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  64,  64,
        62,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  64,  65,
        62,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  65,  65

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        63,  67,  68,  69,  67,  68,  68,  69,  68,  68,  69,  70,  69,  69,  70,  70,

        /*Size 8 x 8*/
        64,  62,  67,  67,  68,  68,  69,  69,  62,  65,  67,  67,  67,  67,  68,  69,
        67,  67,  68,  68,  68,  68,  68,  69,  67,  67,  68,  68,  69,  69,  69,  69,
        68,  67,  68,  69,  69,  69,  70,  70,  68,  67,  68,  69,  69,  70,  70,  70,
        69,  68,  68,  69,  70,  70,  70,  70,  69,  69,  69,  69,  70,  70,  70,  71,

        /*Size 16 x 16*/
        64,  63,  62,  64,  67,  67,  67,  68,  68,  68,  68,  69,  69,  69,  69,  69,
        63,  63,  64,  65,  67,  67,  67,  67,  67,  68,  68,  68,  68,  69,  69,  69,
        62,  64,  65,  66,  67,  67,  67,  67,  67,  67,  67,  68,  68,  68,  69,  69,
        64,  65,  66,  67,  68,  67,  67,  67,  67,  67,  68,  68,  68,  68,  69,  69,
        67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  69,  69,  69,
        67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  69,  69,  69,  69,  69,
        67,  67,  67,  67,  68,  68,  68,  68,  69,  69,  69,  69,  69,  69,  69,  69,
        68,  67,  67,  67,  68,  68,  68,  69,  69,  69,  69,  69,  69,  69,  70,  70,
        68,  67,  67,  67,  68,  68,  69,  69,  69,  69,  69,  69,  70,  70,  70,  70,
        68,  68,  67,  67,  68,  68,  69,  69,  69,  69,  70,  70,  70,  70,  70,  70,
        68,  68,  67,  68,  68,  68,  69,  69,  69,  70,  70,  70,  70,  70,  70,  70,
        69,  68,  68,  68,  68,  69,  69,  69,  69,  70,  70,  70,  70,  70,  70,  70,
        69,  68,  68,  68,  68,  69,  69,  69,  70,  70,  70,  70,  70,  70,  70,  70,
        69,  69,  68,  68,  69,  69,  69,  69,  70,  70,  70,  70,  70,  70,  70,  70,
        69,  69,  69,  69,  69,  69,  69,  70,  70,  70,  70,  70,  70,  70,  71,  71,
        69,  69,  69,  69,  69,  69,  69,  70,  70,  70,  70,  70,  70,  70,  71,  71,

        /*Size 32 x 32*/
        64,  64,  63,  63,  62,  63,  64,  66,  67,  67,  67,  67,  67,  67,  68,  68,
        64,  63,  63,  63,  63,  64,  65,  66,  67,  67,  67,  67,  67,  67,  67,  67,
        63,  63,  63,  63,  64,  64,  65,  66,  67,  67,  67,  67,  67,  67,  67,  67,
        63,  63,  63,  64,  64,  65,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,
        62,  63,  64,  64,  65,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  67,
        63,  64,  64,  65,  66,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  67,
        64,  65,  65,  66,  66,  66,  67,  67,  68,  67,  67,  67,  67,  67,  67,  67,
        66,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  68,  67,  67,  67,  67,
        67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        67,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        67,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        67,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        67,  67,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  68,
        67,  67,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  69,
        68,  67,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  69,  69,
        68,  67,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  69,  69,  69,

        /*Size 64 x 64*/
        64,  64,  64,  63,  63,  63,  63,  62,  62,  63,  63,  64,  64,  65,  66,  66,
        64,  64,  63,  63,  63,  63,  63,  63,  62,  63,  64,  64,  65,  65,  66,  66,
        64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  65,  65,  66,  66,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  65,  65,  65,  66,  66,
        63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  65,  65,  66,  66,  66,
        63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  65,  65,  65,  66,  66,  67,
        63,  63,  63,  63,  63,  64,  64,  64,  64,  65,  65,  65,  66,  66,  66,  67,
        62,  63,  63,  63,  64,  64,  64,  65,  65,  65,  65,  66,  66,  66,  66,  67,
        62,  62,  63,  63,  64,  64,  64,  65,  65,  65,  66,  66,  66,  66,  67,  67,
        63,  63,  63,  64,  64,  64,  65,  65,  65,  66,  66,  66,  66,  67,  67,  67,
        63,  64,  64,  64,  64,  65,  65,  65,  66,  66,  66,  66,  66,  67,  67,  67,
        64,  64,  64,  65,  65,  65,  65,  66,  66,  66,  66,  66,  67,  67,  67,  67,
        64,  65,  65,  65,  65,  65,  66,  66,  66,  66,  66,  67,  67,  67,  67,  67,
        65,  65,  65,  65,  66,  66,  66,  66,  66,  67,  67,  67,  67,  67,  67,  67,
        66,  66,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,  67,  67,  67,  68,
        66,  66,  66,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  67,  68,  68,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  63,  63,  63,  63,  63,  63,  63,  63,  62,  62,  62,
        64,  64,  64,  64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  62,  62,
        64,  64,  64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  62,
        64,  64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        64,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  64,
        63,  63,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  64,
        62,  63,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  64,  64,
        62,  62,  63,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  65,  65,
        62,  62,  62,  63,  63,  63,  63,  63,  64,  64,  64,  64,  64,  64,  65,  65

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      }
    }
  },
  {
    /* QM level 11*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      }
    }
  }
};
static uint16_t wt_matrix_ref[NUM_QM_LEVELS][3][2][QM_DATA_SIZE]=
{
  {
    /* QM level 0*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        80,  72,  37,  18,  72,  43,  26,  15,  37,  26,  14,   9,  18,  15,   9,   6,

        /*Size 8 x 8*/
        64,  91,  83,  59,  40,  27,  19,  13,  91,  77,  81,  67,  49,  34,  24,  17,
        83,  81,  53,  43,  35,  27,  20,  15,  59,  67,  43,  31,  24,  19,  15,  12,
        40,  49,  35,  24,  18,  14,  11,   9,  27,  34,  27,  19,  14,  11,   9,   7,
        19,  24,  20,  15,  11,   9,   7,   6,  13,  17,  15,  12,   9,   7,   6,   4,

        /*Size 16 x 16*/
        64,  77,  91,  87,  83,  71,  59,  49,  40,  33,  27,  23,  19,  16,  13,  13,
        77,  80,  84,  83,  82,  72,  63,  53,  44,  37,  31,  26,  21,  18,  15,  15,
        91,  84,  77,  79,  81,  74,  67,  58,  49,  42,  34,  29,  24,  21,  17,  17,
        87,  83,  79,  73,  67,  61,  55,  48,  42,  36,  30,  26,  22,  19,  16,  16,
        83,  82,  81,  67,  53,  48,  43,  39,  35,  31,  27,  23,  20,  17,  15,  15,
        71,  72,  74,  61,  48,  43,  37,  33,  29,  26,  23,  20,  17,  15,  13,  13,
        59,  63,  67,  55,  43,  37,  31,  27,  24,  22,  19,  17,  15,  13,  12,  12,
        49,  53,  58,  48,  39,  33,  27,  24,  21,  19,  17,  15,  13,  12,  10,  10,
        40,  44,  49,  42,  35,  29,  24,  21,  18,  16,  14,  13,  11,  10,   9,   9,
        33,  37,  42,  36,  31,  26,  22,  19,  16,  14,  12,  11,  10,   9,   8,   8,
        27,  31,  34,  30,  27,  23,  19,  17,  14,  12,  11,  10,   9,   8,   7,   7,
        23,  26,  29,  26,  23,  20,  17,  15,  13,  11,  10,   9,   8,   7,   6,   6,
        19,  21,  24,  22,  20,  17,  15,  13,  11,  10,   9,   8,   7,   6,   6,   6,
        16,  18,  21,  19,  17,  15,  13,  12,  10,   9,   8,   7,   6,   6,   5,   5,
        13,  15,  17,  16,  15,  13,  12,  10,   9,   8,   7,   6,   6,   5,   4,   4,
        13,  15,  17,  16,  15,  13,  12,  10,   9,   8,   7,   6,   6,   5,   4,   4,

        /*Size 32 x 32*/
        64,  71,  77,  84,  91,  89,  87,  85,  83,  77,  71,  65,  59,  54,  49,  44,
        71,  75,  79,  83,  87,  86,  85,  83,  82,  77,  71,  66,  61,  56,  51,  47,
        77,  79,  80,  82,  84,  83,  83,  82,  82,  77,  72,  68,  63,  58,  53,  49,
        84,  83,  82,  81,  80,  80,  81,  81,  81,  77,  73,  69,  65,  60,  56,  51,
        91,  87,  84,  80,  77,  78,  79,  80,  81,  77,  74,  70,  67,  62,  58,  53,
        89,  86,  83,  80,  78,  77,  76,  75,  74,  71,  67,  64,  61,  57,  53,  49,
        87,  85,  83,  81,  79,  76,  73,  70,  67,  64,  61,  58,  55,  52,  48,  45,
        85,  83,  82,  81,  80,  75,  70,  65,  60,  57,  55,  52,  49,  46,  44,  41,
        83,  82,  82,  81,  81,  74,  67,  60,  53,  51,  48,  46,  43,  41,  39,  37,
        77,  77,  77,  77,  77,  71,  64,  57,  51,  48,  45,  43,  40,  38,  36,  34,
        71,  71,  72,  73,  74,  67,  61,  55,  48,  45,  43,  40,  37,  35,  33,  31,
        65,  66,  68,  69,  70,  64,  58,  52,  46,  43,  40,  37,  34,  32,  30,  28,
        59,  61,  63,  65,  67,  61,  55,  49,  43,  40,  37,  34,  31,  29,  27,  26,
        54,  56,  58,  60,  62,  57,  52,  46,  41,  38,  35,  32,  29,  27,  26,  24,
        49,  51,  53,  56,  58,  53,  48,  44,  39,  36,  33,  30,  27,  26,  24,  22,
        44,  47,  49,  51,  53,  49,  45,  41,  37,  34,  31,  28,  26,  24,  22,  21,

        /*Size 64 x 64*/
        64,  67,  71,  74,  77,  81,  84,  87,  91,  90,  89,  88,  87,  86,  85,  84,
        67,  70,  73,  75,  78,  81,  83,  86,  89,  88,  87,  86,  86,  85,  84,  83,
        71,  73,  75,  77,  79,  81,  83,  85,  87,  86,  86,  85,  85,  84,  83,  83,
        74,  75,  77,  78,  80,  81,  82,  84,  85,  85,  84,  84,  84,  83,  83,  82,
        77,  78,  79,  80,  80,  81,  82,  83,  84,  83,  83,  83,  83,  82,  82,  82,
        81,  81,  81,  81,  81,  81,  82,  82,  82,  82,  82,  82,  82,  82,  82,  82,
        84,  83,  83,  82,  82,  82,  81,  81,  80,  80,  80,  81,  81,  81,  81,  81,
        87,  86,  85,  84,  83,  82,  81,  80,  78,  79,  79,  79,  80,  80,  81,  81,
        91,  89,  87,  85,  84,  82,  80,  78,  77,  77,  78,  78,  79,  79,  80,  80,
        90,  88,  86,  85,  83,  82,  80,  79,  77,  77,  77,  77,  77,  77,  77,  77,
        89,  87,  86,  84,  83,  82,  80,  79,  78,  77,  77,  76,  76,  75,  75,  74,
        88,  86,  85,  84,  83,  82,  81,  79,  78,  77,  76,  75,  74,  73,  72,  71,
        87,  86,  85,  84,  83,  82,  81,  80,  79,  77,  76,  74,  73,  71,  70,  68,
        86,  85,  84,  83,  82,  82,  81,  80,  79,  77,  75,  73,  71,  69,  67,  65,
        85,  84,  83,  83,  82,  82,  81,  81,  80,  77,  75,  72,  70,  67,  65,  62,
        84,  83,  83,  82,  82,  82,  81,  81,  80,  77,  74,  71,  68,  65,  62,  59,

        /*Size 128 x 128*/
        64,  66,  67,  69,  71,  72,  74,  76,  77,  79,  81,  82,  84,  86,  87,  89,
        66,  67,  69,  70,  72,  73,  75,  76,  78,  79,  81,  82,  84,  85,  87,  88,
        67,  69,  70,  71,  73,  74,  75,  77,  78,  79,  81,  82,  83,  85,  86,  87,
        69,  70,  71,  73,  74,  75,  76,  77,  78,  80,  81,  82,  83,  84,  86,  87,
        71,  72,  73,  74,  75,  76,  77,  78,  79,  80,  81,  82,  83,  84,  85,  86,
        72,  73,  74,  75,  76,  77,  78,  78,  79,  80,  81,  82,  83,  84,  84,  85,
        74,  75,  75,  76,  77,  78,  78,  79,  80,  80,  81,  82,  82,  83,  84,  85,
        76,  76,  77,  77,  78,  78,  79,  79,  80,  81,  81,  82,  82,  83,  83,  84,
        77,  78,  78,  78,  79,  79,  80,  80,  80,  81,  81,  82,  82,  82,  83,  83,
        79,  79,  79,  80,  80,  80,  80,  81,  81,  81,  81,  82,  82,  82,  82,  83,
        81,  81,  81,  81,  81,  81,  81,  81,  81,  81,  81,  81,  82,  82,  82,  82,
        82,  82,  82,  82,  82,  82,  82,  82,  82,  82,  81,  81,  81,  81,  81,  81,
        84,  84,  83,  83,  83,  83,  82,  82,  82,  82,  82,  81,  81,  81,  81,  80,
        86,  85,  85,  84,  84,  84,  83,  83,  82,  82,  82,  81,  81,  80,  80,  80,
        87,  87,  86,  86,  85,  84,  84,  83,  83,  82,  82,  81,  81,  80,  80,  79,
        89,  88,  87,  87,  86,  85,  85,  84,  83,  83,  82,  81,  80,  80,  79,  78

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        391, 351, 182,  88, 351, 207, 127,  74, 182, 127,  68,  43,  88,  74,  43,  27,

        /*Size 8 x 8*/
        311, 440, 401, 285, 193, 130,  90,  63, 440, 373, 393, 324, 236, 167, 118,  84,
        401, 393, 258, 210, 168, 129,  96,  72, 285, 324, 210, 149, 116,  93,  73,  57,
        193, 236, 168, 116,  86,  68,  54,  44, 130, 167, 129,  93,  68,  52,  41,  34,
        90, 118,  96,  73,  54,  41,  33,  26,  63,  84,  72,  57,  44,  34,  26,  21,

        /*Size 16 x 16*/
        311, 376, 440, 420, 401, 343, 285, 239, 193, 161, 130, 110,  90,  76,  63,  63,
        376, 391, 407, 402, 397, 351, 305, 259, 214, 182, 149, 126, 104,  88,  73,  73,
        440, 407, 373, 383, 393, 359, 324, 280, 236, 202, 167, 142, 118, 101,  84,  84,
        420, 402, 383, 354, 326, 296, 267, 235, 202, 175, 148, 127, 107,  92,  78,  78,
        401, 397, 393, 326, 258, 234, 210, 189, 168, 149, 129, 113,  96,  84,  72,  72,
        343, 351, 359, 296, 234, 207, 179, 161, 142, 127, 111,  98,  85,  74,  64,  64,
        285, 305, 324, 267, 210, 179, 149, 132, 116, 105,  93,  83,  73,  65,  57,  57,
        239, 259, 280, 235, 189, 161, 132, 117, 101,  91,  80,  72,  64,  57,  50,  50,
        193, 214, 236, 202, 168, 142, 116, 101,  86,  77,  68,  61,  54,  49,  44,  44,
        161, 182, 202, 175, 149, 127, 105,  91,  77,  68,  60,  54,  48,  43,  39,  39,
        130, 149, 167, 148, 129, 111,  93,  80,  68,  60,  52,  47,  41,  37,  34,  34,
        110, 126, 142, 127, 113,  98,  83,  72,  61,  54,  47,  42,  37,  33,  30,  30,
        90, 104, 118, 107,  96,  85,  73,  64,  54,  48,  41,  37,  33,  29,  26,  26,
        76,  88, 101,  92,  84,  74,  65,  57,  49,  43,  37,  33,  29,  27,  24,  24,
        63,  73,  84,  78,  72,  64,  57,  50,  44,  39,  34,  30,  26,  24,  21,  21,
        63,  73,  84,  78,  72,  64,  57,  50,  44,  39,  34,  30,  26,  24,  21,  21,

        /*Size 32 x 32*/
        311, 343, 376, 408, 440, 430, 420, 410, 401, 372, 343, 314, 285, 262, 239, 216,
        343, 363, 383, 403, 423, 417, 411, 405, 399, 373, 347, 321, 295, 272, 249, 226,
        376, 383, 391, 399, 407, 404, 402, 399, 397, 374, 351, 328, 305, 282, 259, 237,
        408, 403, 399, 394, 390, 391, 393, 394, 395, 375, 355, 334, 314, 292, 270, 248,
        440, 423, 407, 390, 373, 378, 383, 388, 393, 376, 359, 341, 324, 302, 280, 258,
        430, 417, 404, 391, 378, 374, 369, 364, 359, 343, 327, 311, 295, 276, 257, 238,
        420, 411, 402, 393, 383, 369, 354, 340, 326, 311, 296, 282, 267, 251, 235, 218,
        410, 405, 399, 394, 388, 364, 340, 316, 292, 278, 265, 252, 238, 225, 212, 199,
        401, 399, 397, 395, 393, 359, 326, 292, 258, 246, 234, 222, 210, 199, 189, 179,
        372, 373, 374, 375, 376, 343, 311, 278, 246, 233, 220, 207, 194, 185, 175, 165,
        343, 347, 351, 355, 359, 327, 296, 265, 234, 220, 207, 193, 179, 170, 161, 151,
        314, 321, 328, 334, 341, 311, 282, 252, 222, 207, 193, 178, 164, 155, 147, 138,
        285, 295, 305, 314, 324, 295, 267, 238, 210, 194, 179, 164, 149, 140, 132, 124,
        262, 272, 282, 292, 302, 276, 251, 225, 199, 185, 170, 155, 140, 133, 125, 117,
        239, 249, 259, 270, 280, 257, 235, 212, 189, 175, 161, 147, 132, 125, 117, 109,
        216, 226, 237, 248, 258, 238, 218, 199, 179, 165, 151, 138, 124, 117, 109, 101,

        /*Size 64 x 64*/
        311, 327, 343, 359, 376, 392, 408, 424, 440, 435, 430, 425, 420, 415, 410, 405,
        327, 340, 353, 366, 379, 392, 406, 419, 432, 428, 424, 420, 416, 412, 408, 404,
        343, 353, 363, 373, 383, 393, 403, 413, 423, 420, 417, 414, 411, 408, 405, 402,
        359, 366, 373, 380, 387, 394, 401, 408, 415, 413, 411, 409, 406, 404, 402, 400,
        376, 379, 383, 387, 391, 395, 399, 403, 407, 405, 404, 403, 402, 401, 399, 398,
        392, 392, 393, 394, 395, 396, 397, 397, 398, 398, 398, 397, 397, 397, 397, 396,
        408, 406, 403, 401, 399, 397, 394, 392, 390, 391, 391, 392, 393, 393, 394, 394,
        424, 419, 413, 408, 403, 397, 392, 387, 382, 383, 385, 386, 388, 389, 391, 393,
        440, 432, 423, 415, 407, 398, 390, 382, 373, 376, 378, 381, 383, 386, 388, 391,
        435, 428, 420, 413, 405, 398, 391, 383, 376, 376, 376, 376, 376, 376, 376, 376,
        430, 424, 417, 411, 404, 398, 391, 385, 378, 376, 374, 371, 369, 366, 364, 362,
        425, 420, 414, 409, 403, 397, 392, 386, 381, 376, 371, 366, 362, 357, 352, 347,
        420, 416, 411, 406, 402, 397, 393, 388, 383, 376, 369, 362, 354, 347, 340, 333,
        415, 412, 408, 404, 401, 397, 393, 389, 386, 376, 366, 357, 347, 338, 328, 318,
        410, 408, 405, 402, 399, 397, 394, 391, 388, 376, 364, 352, 340, 328, 316, 304,
        405, 404, 402, 400, 398, 396, 394, 393, 391, 376, 362, 347, 333, 318, 304, 289,

        /*Size 128 x 128*/
        311, 319, 327, 335, 343, 351, 359, 367, 376, 384, 392, 400, 408, 416, 424, 432,
        319, 326, 334, 341, 348, 356, 363, 370, 377, 385, 392, 399, 407, 414, 421, 429,
        327, 334, 340, 347, 353, 360, 366, 373, 379, 386, 392, 399, 406, 412, 419, 425,
        335, 341, 347, 352, 358, 364, 370, 376, 381, 387, 393, 399, 404, 410, 416, 422,
        343, 348, 353, 358, 363, 368, 373, 378, 383, 388, 393, 398, 403, 408, 413, 418,
        351, 356, 360, 364, 368, 373, 377, 381, 385, 389, 394, 398, 402, 406, 411, 415,
        359, 363, 366, 370, 373, 377, 380, 384, 387, 391, 394, 398, 401, 405, 408, 411,
        367, 370, 373, 376, 378, 381, 384, 386, 389, 392, 395, 397, 400, 403, 405, 408,
        376, 377, 379, 381, 383, 385, 387, 389, 391, 393, 395, 397, 399, 401, 403, 405,
        384, 385, 386, 387, 388, 389, 391, 392, 393, 394, 395, 397, 398, 399, 400, 401,
        392, 392, 392, 393, 393, 394, 394, 395, 395, 395, 396, 396, 397, 397, 397, 398,
        400, 399, 399, 399, 398, 398, 398, 397, 397, 397, 396, 396, 396, 395, 395, 394,
        408, 407, 406, 404, 403, 402, 401, 400, 399, 398, 397, 396, 394, 393, 392, 391,
        416, 414, 412, 410, 408, 406, 405, 403, 401, 399, 397, 395, 393, 391, 390, 388,
        424, 421, 419, 416, 413, 411, 408, 405, 403, 400, 397, 395, 392, 390, 387, 384,
        432, 429, 425, 422, 418, 415, 411, 408, 405, 401, 398, 394, 391, 388, 384, 381

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        71,  41,  37,  27,  41,  33,  30,  24,  37,  30,  20,  16,  27,  24,  16,  12,

        /*Size 8 x 8*/
        64,  83,  40,  39,  35,  30,  25,  21,  83,  53,  41,  46,  45,  39,  33,  28,
        40,  41,  33,  34,  35,  32,  29,  25,  39,  46,  34,  29,  27,  25,  23,  21,
        35,  45,  35,  27,  23,  20,  19,  17,  30,  39,  32,  25,  20,  17,  15,  14,
        25,  33,  29,  23,  19,  15,  13,  12,  21,  28,  25,  21,  17,  14,  12,  10,

        /*Size 16 x 16*/
        64,  73,  83,  61,  40,  39,  39,  37,  35,  33,  30,  28,  25,  23,  21,  21,
        73,  71,  68,  54,  40,  41,  42,  41,  40,  37,  35,  32,  29,  27,  24,  24,
        83,  68,  53,  47,  41,  44,  46,  45,  45,  42,  39,  36,  33,  31,  28,  28,
        61,  54,  47,  42,  37,  39,  40,  40,  40,  38,  36,  33,  31,  29,  26,  26,
        40,  40,  41,  37,  33,  34,  34,  34,  35,  33,  32,  30,  29,  27,  25,  25,
        39,  41,  44,  39,  34,  33,  32,  31,  31,  30,  29,  27,  26,  24,  23,  23,
        39,  42,  46,  40,  34,  32,  29,  28,  27,  26,  25,  24,  23,  22,  21,  21,
        37,  41,  45,  40,  34,  31,  28,  26,  25,  24,  23,  22,  21,  20,  19,  19,
        35,  40,  45,  40,  35,  31,  27,  25,  23,  22,  20,  19,  19,  18,  17,  17,
        33,  37,  42,  38,  33,  30,  26,  24,  22,  20,  19,  18,  17,  16,  15,  15,
        30,  35,  39,  36,  32,  29,  25,  23,  20,  19,  17,  16,  15,  15,  14,  14,
        28,  32,  36,  33,  30,  27,  24,  22,  19,  18,  16,  15,  14,  13,  13,  13,
        25,  29,  33,  31,  29,  26,  23,  21,  19,  17,  15,  14,  13,  12,  12,  12,
        23,  27,  31,  29,  27,  24,  22,  20,  18,  16,  15,  13,  12,  12,  11,  11,
        21,  24,  28,  26,  25,  23,  21,  19,  17,  15,  14,  13,  12,  11,  10,  10,
        21,  24,  28,  26,  25,  23,  21,  19,  17,  15,  14,  13,  12,  11,  10,  10,

        /*Size 32 x 32*/
        64,  69,  73,  78,  83,  72,  61,  50,  40,  39,  39,  39,  39,  38,  37,  36,
        69,  70,  72,  74,  75,  66,  57,  49,  40,  40,  40,  40,  40,  40,  39,  38,
        73,  72,  71,  69,  68,  61,  54,  47,  40,  41,  41,  42,  42,  42,  41,  41,
        78,  74,  69,  65,  60,  55,  50,  45,  40,  41,  42,  43,  44,  44,  43,  43,
        83,  75,  68,  60,  53,  50,  47,  44,  41,  42,  44,  45,  46,  46,  45,  45,
        72,  66,  61,  55,  50,  47,  44,  42,  39,  40,  41,  42,  43,  43,  43,  42,
        61,  57,  54,  50,  47,  44,  42,  39,  37,  38,  39,  39,  40,  40,  40,  40,
        50,  49,  47,  45,  44,  42,  39,  37,  35,  35,  36,  37,  37,  37,  37,  37,
        40,  40,  40,  40,  41,  39,  37,  35,  33,  33,  34,  34,  34,  34,  34,  34,
        39,  40,  41,  41,  42,  40,  38,  35,  33,  33,  33,  33,  33,  33,  33,  33,
        39,  40,  41,  42,  44,  41,  39,  36,  34,  33,  33,  32,  32,  31,  31,  31,
        39,  40,  42,  43,  45,  42,  39,  37,  34,  33,  32,  31,  30,  30,  29,  29,
        39,  40,  42,  44,  46,  43,  40,  37,  34,  33,  32,  30,  29,  28,  28,  27,
        38,  40,  42,  44,  46,  43,  40,  37,  34,  33,  31,  30,  28,  28,  27,  26,
        37,  39,  41,  43,  45,  43,  40,  37,  34,  33,  31,  29,  28,  27,  26,  26,
        36,  38,  41,  43,  45,  42,  40,  37,  34,  33,  31,  29,  27,  26,  26,  25,

        /*Size 64 x 64*/
        64,  66,  69,  71,  73,  76,  78,  80,  83,  77,  72,  66,  61,  56,  50,  45,
        66,  68,  69,  71,  73,  74,  76,  77,  79,  74,  69,  64,  59,  54,  49,  45,
        69,  69,  70,  71,  72,  73,  74,  74,  75,  71,  66,  62,  57,  53,  49,  44,
        71,  71,  71,  71,  71,  71,  71,  71,  71,  68,  64,  60,  56,  52,  48,  44,
        73,  73,  72,  71,  71,  70,  69,  68,  68,  64,  61,  57,  54,  50,  47,  44,
        76,  74,  73,  71,  70,  68,  67,  66,  64,  61,  58,  55,  52,  49,  46,  43,
        78,  76,  74,  71,  69,  67,  65,  63,  60,  58,  55,  53,  50,  48,  45,  43,
        80,  77,  74,  71,  68,  66,  63,  60,  57,  55,  53,  51,  49,  47,  45,  43,
        83,  79,  75,  71,  68,  64,  60,  57,  53,  51,  50,  48,  47,  45,  44,  42,
        77,  74,  71,  68,  64,  61,  58,  55,  51,  50,  49,  47,  46,  44,  43,  41,
        72,  69,  66,  64,  61,  58,  55,  53,  50,  49,  47,  46,  44,  43,  42,  40,
        66,  64,  62,  60,  57,  55,  53,  51,  48,  47,  46,  44,  43,  42,  40,  39,
        61,  59,  57,  56,  54,  52,  50,  49,  47,  46,  44,  43,  42,  41,  39,  38,
        56,  54,  53,  52,  50,  49,  48,  47,  45,  44,  43,  42,  41,  39,  38,  37,
        50,  49,  49,  48,  47,  46,  45,  45,  44,  43,  42,  40,  39,  38,  37,  36,
        45,  45,  44,  44,  44,  43,  43,  43,  42,  41,  40,  39,  38,  37,  36,  35,

        /*Size 128 x 128*/
        64,  65,  66,  67,  69,  70,  71,  72,  73,  74,  76,  77,  78,  79,  80,  81,
        65,  66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  80,
        66,  67,  68,  69,  69,  70,  71,  72,  73,  73,  74,  75,  76,  76,  77,  78,
        67,  68,  69,  69,  70,  70,  71,  72,  72,  73,  73,  74,  75,  75,  76,  76,
        69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  73,  73,  74,  74,  74,  75,
        70,  70,  70,  70,  71,  71,  71,  71,  72,  72,  72,  72,  72,  73,  73,  73,
        71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,
        72,  72,  72,  72,  71,  71,  71,  71,  71,  71,  71,  70,  70,  70,  70,  70,
        73,  73,  73,  72,  72,  72,  71,  71,  71,  70,  70,  69,  69,  69,  68,  68,
        74,  74,  73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  68,  67,  66,
        76,  75,  74,  73,  73,  72,  71,  71,  70,  69,  68,  68,  67,  66,  66,  65,
        77,  76,  75,  74,  73,  72,  71,  70,  69,  69,  68,  67,  66,  65,  64,  63,
        78,  77,  76,  75,  74,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  61,
        79,  78,  76,  75,  74,  73,  71,  70,  69,  68,  66,  65,  64,  62,  61,  60,
        80,  79,  77,  76,  74,  73,  71,  70,  68,  67,  66,  64,  63,  61,  60,  58,
        81,  80,  78,  76,  75,  73,  71,  70,  68,  66,  65,  63,  61,  60,  58,  57

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        200, 117, 106,  76, 117,  93,  84,  68, 106,  84,  57,  45,  76,  68,  45,  33,

        /*Size 8 x 8*/
        182, 234, 113, 109, 100,  85,  71,  59, 234, 151, 115, 131, 127, 112,  95,  79,
        113, 115,  93,  98,  98,  91,  81,  70, 109, 131,  98,  82,  76,  72,  65,  58,
        100, 127,  98,  76,  64,  58,  52,  47,  85, 112,  91,  72,  58,  49,  43,  39,
        71,  95,  81,  65,  52,  43,  37,  33,  59,  79,  70,  58,  47,  39,  33,  28,

        /*Size 16 x 16*/
        182, 208, 234, 173, 113, 111, 109, 105, 100,  93,  85,  78,  71,  65,  59,  59,
        208, 200, 192, 153, 114, 117, 120, 117, 113, 106,  99,  91,  83,  76,  69,  69,
        234, 192, 151, 133, 115, 123, 131, 129, 127, 119, 112, 103,  95,  87,  79,  79,
        173, 153, 133, 119, 104, 109, 114, 113, 112, 107, 102,  95,  88,  81,  74,  74,
        113, 114, 115, 104,  93,  95,  98,  98,  98,  95,  91,  86,  81,  75,  70,  70,
        111, 117, 123, 109,  95,  93,  90,  88,  87,  84,  81,  77,  73,  68,  64,  64,
        109, 120, 131, 114,  98,  90,  82,  79,  76,  74,  72,  68,  65,  62,  58,  58,
        105, 117, 129, 113,  98,  88,  79,  75,  70,  67,  65,  62,  59,  56,  53,  53,
        100, 113, 127, 112,  98,  87,  76,  70,  64,  61,  58,  55,  52,  50,  47,  47,
        93, 106, 119, 107,  95,  84,  74,  67,  61,  57,  53,  51,  48,  45,  43,  43,
        85,  99, 112, 102,  91,  81,  72,  65,  58,  53,  49,  46,  43,  41,  39,  39,
        78,  91, 103,  95,  86,  77,  68,  62,  55,  51,  46,  43,  40,  38,  36,  36,
        71,  83,  95,  88,  81,  73,  65,  59,  52,  48,  43,  40,  37,  35,  33,  33,
        65,  76,  87,  81,  75,  68,  62,  56,  50,  45,  41,  38,  35,  33,  30,  30,
        59,  69,  79,  74,  70,  64,  58,  53,  47,  43,  39,  36,  33,  30,  28,  28,
        59,  69,  79,  74,  70,  64,  58,  53,  47,  43,  39,  36,  33,  30,  28,  28,

        /*Size 32 x 32*/
        182, 195, 208, 221, 234, 204, 173, 143, 113, 112, 111, 110, 109, 107, 105, 102,
        195, 199, 204, 209, 213, 188, 163, 138, 113, 114, 114, 114, 115, 113, 111, 109,
        208, 204, 200, 196, 192, 173, 153, 134, 114, 115, 117, 119, 120, 118, 117, 115,
        221, 209, 196, 184, 172, 157, 143, 129, 115, 117, 120, 123, 126, 124, 123, 121,
        234, 213, 192, 172, 151, 142, 133, 124, 115, 119, 123, 127, 131, 130, 129, 128,
        204, 188, 173, 157, 142, 134, 126, 118, 110, 113, 116, 120, 123, 122, 121, 120,
        173, 163, 153, 143, 133, 126, 119, 111, 104, 107, 109, 112, 114, 114, 113, 113,
        143, 138, 134, 129, 124, 118, 111, 105,  99, 100, 102, 104, 106, 106, 106, 105,
        113, 113, 114, 115, 115, 110, 104,  99,  93,  94,  95,  96,  98,  98,  98,  98,
        112, 114, 115, 117, 119, 113, 107, 100,  94,  94,  94,  94,  94,  93,  93,  93,
        111, 114, 117, 120, 123, 116, 109, 102,  95,  94,  93,  91,  90,  89,  88,  88,
        110, 114, 119, 123, 127, 120, 112, 104,  96,  94,  91,  89,  86,  85,  84,  83,
        109, 115, 120, 126, 131, 123, 114, 106,  98,  94,  90,  86,  82,  81,  79,  78,
        107, 113, 118, 124, 130, 122, 114, 106,  98,  93,  89,  85,  81,  79,  77,  75,
        105, 111, 117, 123, 129, 121, 113, 106,  98,  93,  88,  84,  79,  77,  75,  72,
        102, 109, 115, 121, 128, 120, 113, 105,  98,  93,  88,  83,  78,  75,  72,  70,

        /*Size 64 x 64*/
        182, 188, 195, 201, 208, 214, 221, 227, 234, 219, 204, 188, 173, 158, 143, 128,
        188, 193, 197, 202, 206, 210, 215, 219, 224, 210, 196, 182, 168, 154, 141, 127,
        195, 197, 199, 202, 204, 206, 209, 211, 213, 201, 188, 176, 163, 151, 138, 126,
        201, 202, 202, 202, 202, 202, 202, 203, 203, 192, 180, 169, 158, 147, 136, 125,
        208, 206, 204, 202, 200, 198, 196, 194, 192, 183, 173, 163, 153, 143, 134, 124,
        214, 210, 206, 202, 198, 194, 190, 186, 182, 174, 165, 157, 148, 140, 131, 123,
        221, 215, 209, 202, 196, 190, 184, 178, 172, 164, 157, 150, 143, 136, 129, 122,
        227, 219, 211, 203, 194, 186, 178, 169, 161, 155, 150, 144, 138, 132, 126, 121,
        234, 224, 213, 203, 192, 182, 172, 161, 151, 146, 142, 137, 133, 129, 124, 120,
        219, 210, 201, 192, 183, 174, 164, 155, 146, 142, 138, 134, 129, 125, 121, 117,
        204, 196, 188, 180, 173, 165, 157, 150, 142, 138, 134, 130, 126, 122, 118, 114,
        188, 182, 176, 169, 163, 157, 150, 144, 137, 134, 130, 126, 122, 118, 115, 111,
        173, 168, 163, 158, 153, 148, 143, 138, 133, 129, 126, 122, 119, 115, 111, 108,
        158, 154, 151, 147, 143, 140, 136, 132, 129, 125, 122, 118, 115, 112, 108, 105,
        143, 141, 138, 136, 134, 131, 129, 126, 124, 121, 118, 115, 111, 108, 105, 102,
        128, 127, 126, 125, 124, 123, 122, 121, 120, 117, 114, 111, 108, 105, 102,  99,

        /*Size 128 x 128*/
        182, 185, 188, 192, 195, 198, 201, 205, 208, 211, 214, 218, 221, 224, 227, 231,
        185, 188, 190, 193, 196, 199, 201, 204, 207, 210, 212, 215, 218, 221, 223, 226,
        188, 190, 193, 195, 197, 199, 202, 204, 206, 208, 210, 213, 215, 217, 219, 221,
        192, 193, 195, 197, 198, 200, 202, 203, 205, 207, 208, 210, 212, 213, 215, 217,
        195, 196, 197, 198, 199, 201, 202, 203, 204, 205, 206, 207, 209, 210, 211, 212,
        198, 199, 199, 200, 201, 201, 202, 202, 203, 204, 204, 205, 206, 206, 207, 207,
        201, 201, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, 203, 203, 203,
        205, 204, 204, 203, 203, 202, 202, 202, 201, 201, 200, 200, 199, 199, 198, 198,
        208, 207, 206, 205, 204, 203, 202, 201, 200, 199, 198, 197, 196, 195, 194, 193,
        211, 210, 208, 207, 205, 204, 202, 201, 199, 198, 196, 195, 193, 192, 190, 189,
        214, 212, 210, 208, 206, 204, 202, 200, 198, 196, 194, 192, 190, 188, 186, 184,
        218, 215, 213, 210, 207, 205, 202, 200, 197, 195, 192, 190, 187, 184, 182, 179,
        221, 218, 215, 212, 209, 206, 202, 199, 196, 193, 190, 187, 184, 181, 178, 175,
        224, 221, 217, 213, 210, 206, 203, 199, 195, 192, 188, 184, 181, 177, 174, 170,
        227, 223, 219, 215, 211, 207, 203, 198, 194, 190, 186, 182, 178, 174, 169, 165,
        231, 226, 221, 217, 212, 207, 203, 198, 193, 189, 184, 179, 175, 170, 165, 161

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        71,  38,  34,  24,  38,  29,  27,  22,  34,  27,  18,  14,  24,  22,  14,  10,

        /*Size 8 x 8*/
        64,  83,  40,  35,  32,  27,  23,  19,  83,  53,  37,  42,  40,  36,  30,  25,
        40,  37,  30,  31,  31,  29,  26,  22,  35,  42,  31,  26,  24,  23,  21,  19,
        32,  40,  31,  24,  21,  18,  17,  15,  27,  36,  29,  23,  18,  16,  14,  12,
        23,  30,  26,  21,  17,  14,  12,  11,  19,  25,  22,  19,  15,  12,  11,   9,

        /*Size 16 x 16*/
        64,  73,  83,  61,  40,  37,  35,  33,  32,  30,  27,  25,  23,  21,  19,  19,
        73,  71,  68,  53,  38,  38,  38,  37,  36,  34,  31,  29,  27,  24,  22,  22,
        83,  68,  53,  45,  37,  39,  42,  41,  40,  38,  36,  33,  30,  28,  25,  25,
        61,  53,  45,  39,  33,  35,  37,  36,  36,  34,  32,  30,  28,  26,  24,  24,
        40,  38,  37,  33,  30,  30,  31,  31,  31,  30,  29,  27,  26,  24,  22,  22,
        37,  38,  39,  35,  30,  29,  29,  28,  28,  27,  26,  25,  23,  22,  20,  20,
        35,  38,  42,  37,  31,  29,  26,  25,  24,  24,  23,  22,  21,  20,  19,  19,
        33,  37,  41,  36,  31,  28,  25,  24,  22,  21,  21,  20,  19,  18,  17,  17,
        32,  36,  40,  36,  31,  28,  24,  22,  21,  19,  18,  18,  17,  16,  15,  15,
        30,  34,  38,  34,  30,  27,  24,  21,  19,  18,  17,  16,  15,  14,  14,  14,
        27,  31,  36,  32,  29,  26,  23,  21,  18,  17,  16,  15,  14,  13,  12,  12,
        25,  29,  33,  30,  27,  25,  22,  20,  18,  16,  15,  14,  13,  12,  11,  11,
        23,  27,  30,  28,  26,  23,  21,  19,  17,  15,  14,  13,  12,  11,  11,  11,
        21,  24,  28,  26,  24,  22,  20,  18,  16,  14,  13,  12,  11,  10,  10,  10,
        19,  22,  25,  24,  22,  20,  19,  17,  15,  14,  12,  11,  11,  10,   9,   9,
        19,  22,  25,  24,  22,  20,  19,  17,  15,  14,  12,  11,  11,  10,   9,   9,

        /*Size 32 x 32*/
        64,  69,  73,  78,  83,  72,  61,  50,  40,  38,  37,  36,  35,  34,  33,  33,
        69,  70,  72,  74,  75,  66,  57,  48,  39,  38,  38,  37,  37,  36,  35,  35,
        73,  72,  71,  69,  68,  60,  53,  46,  38,  38,  38,  38,  38,  38,  37,  37,
        78,  74,  69,  65,  60,  55,  49,  43,  37,  38,  39,  40,  40,  40,  39,  39,
        83,  75,  68,  60,  53,  49,  45,  41,  37,  38,  39,  41,  42,  42,  41,  41,
        72,  66,  60,  55,  49,  45,  42,  38,  35,  36,  37,  38,  39,  39,  39,  38,
        61,  57,  53,  49,  45,  42,  39,  36,  33,  34,  35,  36,  37,  36,  36,  36,
        50,  48,  46,  43,  41,  38,  36,  34,  32,  32,  33,  33,  34,  34,  34,  34,
        40,  39,  38,  37,  37,  35,  33,  32,  30,  30,  30,  31,  31,  31,  31,  31,
        38,  38,  38,  38,  38,  36,  34,  32,  30,  30,  30,  30,  30,  30,  30,  30,
        37,  38,  38,  39,  39,  37,  35,  33,  30,  30,  29,  29,  29,  28,  28,  28,
        36,  37,  38,  40,  41,  38,  36,  33,  31,  30,  29,  28,  27,  27,  27,  26,
        35,  37,  38,  40,  42,  39,  37,  34,  31,  30,  29,  27,  26,  26,  25,  25,
        34,  36,  38,  40,  42,  39,  36,  34,  31,  30,  28,  27,  26,  25,  24,  24,
        33,  35,  37,  39,  41,  39,  36,  34,  31,  30,  28,  27,  25,  24,  24,  23,
        33,  35,  37,  39,  41,  38,  36,  34,  31,  30,  28,  26,  25,  24,  23,  22,

        /*Size 64 x 64*/
        64,  66,  69,  71,  73,  76,  78,  80,  83,  77,  72,  66,  61,  56,  50,  45,
        66,  68,  69,  71,  73,  74,  76,  77,  79,  74,  69,  64,  59,  54,  49,  44,
        69,  69,  70,  71,  72,  73,  74,  74,  75,  71,  66,  62,  57,  52,  48,  43,
        71,  71,  71,  71,  71,  71,  71,  71,  71,  67,  63,  59,  55,  51,  47,  43,
        73,  73,  72,  71,  71,  70,  69,  68,  68,  64,  60,  57,  53,  49,  46,  42,
        76,  74,  73,  71,  70,  68,  67,  66,  64,  61,  57,  54,  51,  48,  44,  41,
        78,  76,  74,  71,  69,  67,  65,  63,  60,  58,  55,  52,  49,  46,  43,  40,
        80,  77,  74,  71,  68,  66,  63,  60,  57,  54,  52,  49,  47,  44,  42,  40,
        83,  79,  75,  71,  68,  64,  60,  57,  53,  51,  49,  47,  45,  43,  41,  39,
        77,  74,  71,  67,  64,  61,  58,  54,  51,  49,  47,  45,  43,  42,  40,  38,
        72,  69,  66,  63,  60,  57,  55,  52,  49,  47,  45,  44,  42,  40,  38,  37,
        66,  64,  62,  59,  57,  54,  52,  49,  47,  45,  44,  42,  41,  39,  37,  36,
        61,  59,  57,  55,  53,  51,  49,  47,  45,  43,  42,  41,  39,  38,  36,  35,
        56,  54,  52,  51,  49,  48,  46,  44,  43,  42,  40,  39,  38,  36,  35,  34,
        50,  49,  48,  47,  46,  44,  43,  42,  41,  40,  38,  37,  36,  35,  34,  33,
        45,  44,  43,  43,  42,  41,  40,  40,  39,  38,  37,  36,  35,  34,  33,  32,

        /*Size 128 x 128*/
        64,  65,  66,  67,  69,  70,  71,  72,  73,  74,  76,  77,  78,  79,  80,  81,
        65,  66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  80,
        66,  67,  68,  69,  69,  70,  71,  72,  73,  73,  74,  75,  76,  76,  77,  78,
        67,  68,  69,  69,  70,  70,  71,  72,  72,  73,  73,  74,  75,  75,  76,  76,
        69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  73,  73,  74,  74,  74,  75,
        70,  70,  70,  70,  71,  71,  71,  71,  72,  72,  72,  72,  72,  73,  73,  73,
        71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,
        72,  72,  72,  72,  71,  71,  71,  71,  71,  71,  71,  70,  70,  70,  70,  70,
        73,  73,  73,  72,  72,  72,  71,  71,  71,  70,  70,  69,  69,  69,  68,  68,
        74,  74,  73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  68,  67,  66,
        76,  75,  74,  73,  73,  72,  71,  71,  70,  69,  68,  68,  67,  66,  66,  65,
        77,  76,  75,  74,  73,  72,  71,  70,  69,  69,  68,  67,  66,  65,  64,  63,
        78,  77,  76,  75,  74,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  61,
        79,  78,  76,  75,  74,  73,  71,  70,  69,  68,  66,  65,  64,  62,  61,  60,
        80,  79,  77,  76,  74,  73,  71,  70,  68,  67,  66,  64,  63,  61,  60,  58,
        81,  80,  78,  76,  75,  73,  71,  70,  68,  66,  65,  63,  61,  60,  58,  57

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        221, 120, 106,  76, 120,  92,  84,  68, 106,  84,  57,  45,  76,  68,  45,  33,

        /*Size 8 x 8*/
        201, 258, 124, 109, 100,  85,  71,  59, 258, 166, 115, 131, 126, 112,  95,  79,
        124, 115,  93,  98,  98,  91,  81,  70, 109, 131,  98,  82,  76,  71,  65,  58,
        100, 126,  98,  76,  64,  58,  52,  47,  85, 112,  91,  71,  58,  49,  43,  39,
        71,  95,  81,  65,  52,  43,  37,  33,  59,  79,  70,  58,  47,  39,  33,  28,

        /*Size 16 x 16*/
        201, 229, 258, 191, 124, 117, 109, 105, 100,  93,  85,  78,  71,  65,  59,  59,
        229, 221, 212, 166, 120, 120, 120, 117, 113, 106,  98,  91,  83,  76,  69,  69,
        258, 212, 166, 141, 115, 123, 131, 129, 126, 119, 112, 103,  95,  87,  79,  79,
        191, 166, 141, 122, 104, 109, 114, 113, 112, 107, 101,  94,  88,  81,  74,  74,
        124, 120, 115, 104,  93,  95,  98,  98,  98,  95,  91,  86,  81,  75,  70,  70,
        117, 120, 123, 109,  95,  92,  90,  88,  87,  84,  81,  77,  73,  68,  64,  64,
        109, 120, 131, 114,  98,  90,  82,  79,  76,  74,  71,  68,  65,  61,  58,  58,
        105, 117, 129, 113,  98,  88,  79,  75,  70,  67,  64,  62,  59,  56,  52,  52,
        100, 113, 126, 112,  98,  87,  76,  70,  64,  61,  58,  55,  52,  50,  47,  47,
        93, 106, 119, 107,  95,  84,  74,  67,  61,  57,  53,  50,  48,  45,  43,  43,
        85,  98, 112, 101,  91,  81,  71,  64,  58,  53,  49,  46,  43,  41,  39,  39,
        78,  91, 103,  94,  86,  77,  68,  62,  55,  50,  46,  43,  40,  38,  36,  36,
        71,  83,  95,  88,  81,  73,  65,  59,  52,  48,  43,  40,  37,  35,  33,  33,
        65,  76,  87,  81,  75,  68,  61,  56,  50,  45,  41,  38,  35,  33,  30,  30,
        59,  69,  79,  74,  70,  64,  58,  52,  47,  43,  39,  36,  33,  30,  28,  28,
        59,  69,  79,  74,  70,  64,  58,  52,  47,  43,  39,  36,  33,  30,  28,  28,

        /*Size 32 x 32*/
        201, 215, 229, 244, 258, 225, 191, 158, 124, 120, 117, 113, 109, 107, 105, 102,
        215, 220, 225, 230, 235, 207, 178, 150, 122, 120, 118, 117, 115, 113, 111, 108,
        229, 225, 221, 216, 212, 189, 166, 143, 120, 120, 120, 120, 120, 118, 117, 115,
        244, 230, 216, 203, 189, 171, 153, 135, 117, 120, 122, 124, 126, 124, 123, 121,
        258, 235, 212, 189, 166, 154, 141, 128, 115, 119, 123, 127, 131, 130, 129, 128,
        225, 207, 189, 171, 154, 143, 132, 121, 110, 113, 116, 120, 123, 122, 121, 120,
        191, 178, 166, 153, 141, 132, 122, 113, 104, 107, 109, 112, 114, 114, 113, 113,
        158, 150, 143, 135, 128, 121, 113, 106,  99, 100, 102, 104, 106, 106, 106, 105,
        124, 122, 120, 117, 115, 110, 104,  99,  93,  94,  95,  96,  98,  98,  98,  98,
        120, 120, 120, 120, 119, 113, 107, 100,  94,  94,  94,  94,  94,  93,  93,  93,
        117, 118, 120, 122, 123, 116, 109, 102,  95,  94,  92,  91,  90,  89,  88,  88,
        113, 117, 120, 124, 127, 120, 112, 104,  96,  94,  91,  88,  86,  85,  84,  83,
        109, 115, 120, 126, 131, 123, 114, 106,  98,  94,  90,  86,  82,  80,  79,  77,
        107, 113, 118, 124, 130, 122, 114, 106,  98,  93,  89,  85,  80,  79,  77,  75,
        105, 111, 117, 123, 129, 121, 113, 106,  98,  93,  88,  84,  79,  77,  75,  72,
        102, 108, 115, 121, 128, 120, 113, 105,  98,  93,  88,  83,  77,  75,  72,  70,

        /*Size 64 x 64*/
        201, 208, 215, 222, 229, 236, 244, 251, 258, 241, 225, 208, 191, 174, 158, 141,
        208, 213, 217, 222, 227, 232, 237, 242, 247, 231, 216, 200, 185, 169, 154, 138,
        215, 217, 220, 222, 225, 227, 230, 233, 235, 221, 207, 193, 178, 164, 150, 136,
        222, 222, 222, 223, 223, 223, 223, 223, 224, 211, 198, 185, 172, 159, 146, 134,
        229, 227, 225, 223, 221, 219, 216, 214, 212, 201, 189, 177, 166, 154, 143, 131,
        236, 232, 227, 223, 219, 214, 210, 205, 201, 190, 180, 170, 160, 149, 139, 129,
        244, 237, 230, 223, 216, 210, 203, 196, 189, 180, 171, 162, 153, 144, 135, 126,
        251, 242, 233, 223, 214, 205, 196, 187, 178, 170, 162, 155, 147, 139, 132, 124,
        258, 247, 235, 224, 212, 201, 189, 178, 166, 160, 154, 147, 141, 134, 128, 122,
        241, 231, 221, 211, 201, 190, 180, 170, 160, 154, 148, 142, 136, 130, 124, 118,
        225, 216, 207, 198, 189, 180, 171, 162, 154, 148, 143, 137, 132, 126, 121, 115,
        208, 200, 193, 185, 177, 170, 162, 155, 147, 142, 137, 132, 127, 122, 117, 112,
        191, 185, 178, 172, 166, 160, 153, 147, 141, 136, 132, 127, 122, 118, 113, 109,
        174, 169, 164, 159, 154, 149, 144, 139, 134, 130, 126, 122, 118, 114, 110, 105,
        158, 154, 150, 146, 143, 139, 135, 132, 128, 124, 121, 117, 113, 110, 106, 102,
        141, 138, 136, 134, 131, 129, 126, 124, 122, 118, 115, 112, 109, 105, 102,  99,

        /*Size 128 x 128*/
        201, 204, 208, 211, 215, 218, 222, 226, 229, 233, 236, 240, 244, 247, 251, 254,
        204, 207, 210, 213, 216, 219, 222, 225, 228, 231, 234, 237, 240, 243, 246, 249,
        208, 210, 213, 215, 217, 220, 222, 225, 227, 230, 232, 234, 237, 239, 242, 244,
        211, 213, 215, 217, 219, 221, 222, 224, 226, 228, 230, 232, 233, 235, 237, 239,
        215, 216, 217, 219, 220, 221, 222, 224, 225, 226, 227, 229, 230, 231, 233, 234,
        218, 219, 220, 221, 221, 222, 223, 223, 224, 225, 225, 226, 227, 227, 228, 229,
        222, 222, 222, 222, 222, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223,
        226, 225, 225, 224, 224, 223, 223, 222, 222, 221, 221, 220, 220, 219, 219, 218,
        229, 228, 227, 226, 225, 224, 223, 222, 221, 220, 219, 217, 216, 215, 214, 213,
        233, 231, 230, 228, 226, 225, 223, 221, 220, 218, 216, 215, 213, 211, 210, 208,
        236, 234, 232, 230, 227, 225, 223, 221, 219, 216, 214, 212, 210, 207, 205, 203,
        240, 237, 234, 232, 229, 226, 223, 220, 217, 215, 212, 209, 206, 203, 201, 198,
        244, 240, 237, 233, 230, 227, 223, 220, 216, 213, 210, 206, 203, 199, 196, 193,
        247, 243, 239, 235, 231, 227, 223, 219, 215, 211, 207, 203, 199, 195, 191, 187,
        251, 246, 242, 237, 233, 228, 223, 219, 214, 210, 205, 201, 196, 191, 187, 182,
        254, 249, 244, 239, 234, 229, 223, 218, 213, 208, 203, 198, 193, 187, 182, 177

      }
    }
  },
  {
    /* QM level 1*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        79,  72,  39,  21,  72,  44,  29,  19,  39,  29,  18,  13,  21,  19,  13,  10,

        /*Size 8 x 8*/
        64,  89,  81,  59,  41,  30,  22,  17,  89,  76,  80,  67,  50,  37,  27,  21,
        81,  80,  54,  45,  37,  29,  23,  18,  59,  67,  45,  33,  27,  22,  19,  16,
        41,  50,  37,  27,  21,  18,  15,  13,  30,  37,  29,  22,  18,  15,  13,  11,
        22,  27,  23,  19,  15,  13,  11,  10,  17,  21,  18,  16,  13,  11,  10,   9,

        /*Size 16 x 16*/
        64,  76,  89,  85,  81,  70,  59,  50,  41,  35,  30,  26,  22,  19,  17,  17,
        76,  79,  82,  81,  80,  72,  63,  54,  46,  39,  33,  29,  24,  21,  19,  19,
        89,  82,  76,  78,  80,  73,  67,  58,  50,  43,  37,  32,  27,  24,  21,  21,
        85,  81,  78,  72,  67,  61,  56,  49,  43,  38,  33,  29,  25,  22,  19,  19,
        81,  80,  80,  67,  54,  49,  45,  41,  37,  33,  29,  26,  23,  21,  18,  18,
        70,  72,  73,  61,  49,  44,  39,  35,  32,  29,  26,  23,  21,  19,  17,  17,
        59,  63,  67,  56,  45,  39,  33,  30,  27,  25,  22,  20,  19,  17,  16,  16,
        50,  54,  58,  49,  41,  35,  30,  27,  24,  22,  20,  18,  17,  16,  14,  14,
        41,  46,  50,  43,  37,  32,  27,  24,  21,  19,  18,  16,  15,  14,  13,  13,
        35,  39,  43,  38,  33,  29,  25,  22,  19,  18,  16,  15,  14,  13,  12,  12,
        30,  33,  37,  33,  29,  26,  22,  20,  18,  16,  15,  14,  13,  12,  11,  11,
        26,  29,  32,  29,  26,  23,  20,  18,  16,  15,  14,  13,  12,  11,  10,  10,
        22,  24,  27,  25,  23,  21,  19,  17,  15,  14,  13,  12,  11,  10,  10,  10,
        19,  21,  24,  22,  21,  19,  17,  16,  14,  13,  12,  11,  10,  10,   9,   9,
        17,  19,  21,  19,  18,  17,  16,  14,  13,  12,  11,  10,  10,   9,   9,   9,
        17,  19,  21,  19,  18,  17,  16,  14,  13,  12,  11,  10,  10,   9,   9,   9,

        /*Size 32 x 32*/
        64,  70,  76,  82,  89,  87,  85,  83,  81,  76,  70,  65,  59,  55,  50,  46,
        70,  74,  78,  82,  85,  84,  83,  82,  81,  76,  71,  66,  61,  57,  52,  48,
        76,  78,  79,  81,  82,  82,  81,  81,  80,  76,  72,  67,  63,  58,  54,  50,
        82,  82,  81,  80,  79,  79,  80,  80,  80,  76,  72,  68,  65,  60,  56,  52,
        89,  85,  82,  79,  76,  77,  78,  79,  80,  76,  73,  70,  67,  62,  58,  54,
        87,  84,  82,  79,  77,  76,  75,  74,  73,  70,  67,  64,  61,  57,  54,  50,
        85,  83,  81,  80,  78,  75,  72,  70,  67,  64,  61,  58,  56,  53,  49,  46,
        83,  82,  81,  80,  79,  74,  70,  65,  60,  58,  55,  53,  50,  48,  45,  43,
        81,  81,  80,  80,  80,  73,  67,  60,  54,  52,  49,  47,  45,  43,  41,  39,
        76,  76,  76,  76,  76,  70,  64,  58,  52,  49,  47,  44,  42,  40,  38,  36,
        70,  71,  72,  72,  73,  67,  61,  55,  49,  47,  44,  41,  39,  37,  35,  34,
        65,  66,  67,  68,  70,  64,  58,  53,  47,  44,  41,  39,  36,  34,  33,  31,
        59,  61,  63,  65,  67,  61,  56,  50,  45,  42,  39,  36,  33,  31,  30,  28,
        55,  57,  58,  60,  62,  57,  53,  48,  43,  40,  37,  34,  31,  30,  28,  27,
        50,  52,  54,  56,  58,  54,  49,  45,  41,  38,  35,  33,  30,  28,  27,  25,
        46,  48,  50,  52,  54,  50,  46,  43,  39,  36,  34,  31,  28,  27,  25,  24,

        /*Size 64 x 64*/
        64,  67,  70,  73,  76,  79,  82,  85,  89,  88,  87,  86,  85,  84,  83,  82,
        67,  70,  72,  75,  77,  79,  82,  84,  87,  86,  85,  85,  84,  83,  82,  82,
        70,  72,  74,  76,  78,  80,  82,  83,  85,  85,  84,  84,  83,  82,  82,  81,
        73,  75,  76,  77,  79,  80,  81,  82,  84,  83,  83,  83,  82,  82,  81,  81,
        76,  77,  78,  79,  79,  80,  81,  82,  82,  82,  82,  82,  81,  81,  81,  81,
        79,  79,  80,  80,  80,  80,  80,  81,  81,  81,  81,  81,  80,  80,  80,  80,
        82,  82,  82,  81,  81,  80,  80,  80,  79,  79,  79,  79,  80,  80,  80,  80,
        85,  84,  83,  82,  82,  81,  80,  79,  78,  78,  78,  78,  79,  79,  79,  80,
        89,  87,  85,  84,  82,  81,  79,  78,  76,  76,  77,  77,  78,  78,  79,  79,
        88,  86,  85,  83,  82,  81,  79,  78,  76,  76,  76,  76,  76,  76,  76,  76,
        87,  85,  84,  83,  82,  81,  79,  78,  77,  76,  76,  76,  75,  75,  74,  74,
        86,  85,  84,  83,  82,  81,  79,  78,  77,  76,  76,  75,  74,  73,  72,  71,
        85,  84,  83,  82,  81,  80,  80,  79,  78,  76,  75,  74,  72,  71,  70,  68,
        84,  83,  82,  82,  81,  80,  80,  79,  78,  76,  75,  73,  71,  69,  67,  65,
        83,  82,  82,  81,  81,  80,  80,  79,  79,  76,  74,  72,  70,  67,  65,  63,
        82,  82,  81,  81,  81,  80,  80,  80,  79,  76,  74,  71,  68,  65,  63,  60,

        /*Size 128 x 128*/
        64,  66,  67,  69,  70,  72,  73,  75,  76,  78,  79,  81,  82,  84,  85,  87,
        66,  67,  68,  70,  71,  72,  74,  75,  77,  78,  79,  81,  82,  84,  85,  86,
        67,  68,  70,  71,  72,  73,  75,  76,  77,  78,  79,  81,  82,  83,  84,  86,
        69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  80,  81,  82,  83,  84,  85,
        70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  80,  81,  82,  83,  83,  84,
        72,  72,  73,  74,  75,  76,  77,  77,  78,  79,  80,  81,  81,  82,  83,  84,
        73,  74,  75,  75,  76,  77,  77,  78,  79,  79,  80,  80,  81,  82,  82,  83,
        75,  75,  76,  76,  77,  77,  78,  78,  79,  79,  80,  80,  81,  81,  82,  83,
        76,  77,  77,  77,  78,  78,  79,  79,  79,  80,  80,  80,  81,  81,  82,  82,
        78,  78,  78,  78,  79,  79,  79,  79,  80,  80,  80,  80,  81,  81,  81,  81,
        79,  79,  79,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  81,  81,
        81,  81,  81,  81,  81,  81,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,
        82,  82,  82,  82,  82,  81,  81,  81,  81,  81,  80,  80,  80,  80,  80,  79,
        84,  84,  83,  83,  83,  82,  82,  81,  81,  81,  80,  80,  80,  79,  79,  79,
        85,  85,  84,  84,  83,  83,  82,  82,  82,  81,  81,  80,  80,  79,  79,  78,
        87,  86,  86,  85,  84,  84,  83,  83,  82,  81,  81,  80,  79,  79,  78,  77

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        391, 351, 182,  88, 351, 207, 127,  74, 182, 127,  68,  43,  88,  74,  43,  27,

        /*Size 8 x 8*/
        311, 440, 401, 285, 193, 130,  90,  63, 440, 373, 393, 324, 236, 167, 118,  84,
        401, 393, 258, 210, 168, 129,  96,  72, 285, 324, 210, 149, 116,  93,  73,  57,
        193, 236, 168, 116,  86,  68,  54,  44, 130, 167, 129,  93,  68,  52,  41,  34,
        90, 118,  96,  73,  54,  41,  33,  26,  63,  84,  72,  57,  44,  34,  26,  21,

        /*Size 16 x 16*/
        311, 376, 440, 420, 401, 343, 285, 239, 193, 161, 130, 110,  90,  76,  63,  63,
        376, 391, 407, 402, 397, 351, 305, 259, 214, 182, 149, 126, 104,  88,  73,  73,
        440, 407, 373, 383, 393, 359, 324, 280, 236, 202, 167, 142, 118, 101,  84,  84,
        420, 402, 383, 354, 326, 296, 267, 235, 202, 175, 148, 127, 107,  92,  78,  78,
        401, 397, 393, 326, 258, 234, 210, 189, 168, 149, 129, 113,  96,  84,  72,  72,
        343, 351, 359, 296, 234, 207, 179, 161, 142, 127, 111,  98,  85,  74,  64,  64,
        285, 305, 324, 267, 210, 179, 149, 132, 116, 105,  93,  83,  73,  65,  57,  57,
        239, 259, 280, 235, 189, 161, 132, 117, 101,  91,  80,  72,  64,  57,  50,  50,
        193, 214, 236, 202, 168, 142, 116, 101,  86,  77,  68,  61,  54,  49,  44,  44,
        161, 182, 202, 175, 149, 127, 105,  91,  77,  68,  60,  54,  48,  43,  39,  39,
        130, 149, 167, 148, 129, 111,  93,  80,  68,  60,  52,  47,  41,  37,  34,  34,
        110, 126, 142, 127, 113,  98,  83,  72,  61,  54,  47,  42,  37,  33,  30,  30,
        90, 104, 118, 107,  96,  85,  73,  64,  54,  48,  41,  37,  33,  29,  26,  26,
        76,  88, 101,  92,  84,  74,  65,  57,  49,  43,  37,  33,  29,  27,  24,  24,
        63,  73,  84,  78,  72,  64,  57,  50,  44,  39,  34,  30,  26,  24,  21,  21,
        63,  73,  84,  78,  72,  64,  57,  50,  44,  39,  34,  30,  26,  24,  21,  21,

        /*Size 32 x 32*/
        311, 343, 376, 408, 440, 430, 420, 410, 401, 372, 343, 314, 285, 262, 239, 216,
        343, 363, 383, 403, 423, 417, 411, 405, 399, 373, 347, 321, 295, 272, 249, 226,
        376, 383, 391, 399, 407, 404, 402, 399, 397, 374, 351, 328, 305, 282, 259, 237,
        408, 403, 399, 394, 390, 391, 393, 394, 395, 375, 355, 334, 314, 292, 270, 248,
        440, 423, 407, 390, 373, 378, 383, 388, 393, 376, 359, 341, 324, 302, 280, 258,
        430, 417, 404, 391, 378, 374, 369, 364, 359, 343, 327, 311, 295, 276, 257, 238,
        420, 411, 402, 393, 383, 369, 354, 340, 326, 311, 296, 282, 267, 251, 235, 218,
        410, 405, 399, 394, 388, 364, 340, 316, 292, 278, 265, 252, 238, 225, 212, 199,
        401, 399, 397, 395, 393, 359, 326, 292, 258, 246, 234, 222, 210, 199, 189, 179,
        372, 373, 374, 375, 376, 343, 311, 278, 246, 233, 220, 207, 194, 185, 175, 165,
        343, 347, 351, 355, 359, 327, 296, 265, 234, 220, 207, 193, 179, 170, 161, 151,
        314, 321, 328, 334, 341, 311, 282, 252, 222, 207, 193, 178, 164, 155, 147, 138,
        285, 295, 305, 314, 324, 295, 267, 238, 210, 194, 179, 164, 149, 140, 132, 124,
        262, 272, 282, 292, 302, 276, 251, 225, 199, 185, 170, 155, 140, 133, 125, 117,
        239, 249, 259, 270, 280, 257, 235, 212, 189, 175, 161, 147, 132, 125, 117, 109,
        216, 226, 237, 248, 258, 238, 218, 199, 179, 165, 151, 138, 124, 117, 109, 101,

        /*Size 64 x 64*/
        311, 327, 343, 359, 376, 392, 408, 424, 440, 435, 430, 425, 420, 415, 410, 405,
        327, 340, 353, 366, 379, 392, 406, 419, 432, 428, 424, 420, 416, 412, 408, 404,
        343, 353, 363, 373, 383, 393, 403, 413, 423, 420, 417, 414, 411, 408, 405, 402,
        359, 366, 373, 380, 387, 394, 401, 408, 415, 413, 411, 409, 406, 404, 402, 400,
        376, 379, 383, 387, 391, 395, 399, 403, 407, 405, 404, 403, 402, 401, 399, 398,
        392, 392, 393, 394, 395, 396, 397, 397, 398, 398, 398, 397, 397, 397, 397, 396,
        408, 406, 403, 401, 399, 397, 394, 392, 390, 391, 391, 392, 393, 393, 394, 394,
        424, 419, 413, 408, 403, 397, 392, 387, 382, 383, 385, 386, 388, 389, 391, 393,
        440, 432, 423, 415, 407, 398, 390, 382, 373, 376, 378, 381, 383, 386, 388, 391,
        435, 428, 420, 413, 405, 398, 391, 383, 376, 376, 376, 376, 376, 376, 376, 376,
        430, 424, 417, 411, 404, 398, 391, 385, 378, 376, 374, 371, 369, 366, 364, 362,
        425, 420, 414, 409, 403, 397, 392, 386, 381, 376, 371, 366, 362, 357, 352, 347,
        420, 416, 411, 406, 402, 397, 393, 388, 383, 376, 369, 362, 354, 347, 340, 333,
        415, 412, 408, 404, 401, 397, 393, 389, 386, 376, 366, 357, 347, 338, 328, 318,
        410, 408, 405, 402, 399, 397, 394, 391, 388, 376, 364, 352, 340, 328, 316, 304,
        405, 404, 402, 400, 398, 396, 394, 393, 391, 376, 362, 347, 333, 318, 304, 289,

        /*Size 128 x 128*/
        311, 319, 327, 335, 343, 351, 359, 367, 376, 384, 392, 400, 408, 416, 424, 432,
        319, 326, 334, 341, 348, 356, 363, 370, 377, 385, 392, 399, 407, 414, 421, 429,
        327, 334, 340, 347, 353, 360, 366, 373, 379, 386, 392, 399, 406, 412, 419, 425,
        335, 341, 347, 352, 358, 364, 370, 376, 381, 387, 393, 399, 404, 410, 416, 422,
        343, 348, 353, 358, 363, 368, 373, 378, 383, 388, 393, 398, 403, 408, 413, 418,
        351, 356, 360, 364, 368, 373, 377, 381, 385, 389, 394, 398, 402, 406, 411, 415,
        359, 363, 366, 370, 373, 377, 380, 384, 387, 391, 394, 398, 401, 405, 408, 411,
        367, 370, 373, 376, 378, 381, 384, 386, 389, 392, 395, 397, 400, 403, 405, 408,
        376, 377, 379, 381, 383, 385, 387, 389, 391, 393, 395, 397, 399, 401, 403, 405,
        384, 385, 386, 387, 388, 389, 391, 392, 393, 394, 395, 397, 398, 399, 400, 401,
        392, 392, 392, 393, 393, 394, 394, 395, 395, 395, 396, 396, 397, 397, 397, 398,
        400, 399, 399, 399, 398, 398, 398, 397, 397, 397, 396, 396, 396, 395, 395, 394,
        408, 407, 406, 404, 403, 402, 401, 400, 399, 398, 397, 396, 394, 393, 392, 391,
        416, 414, 412, 410, 408, 406, 405, 403, 401, 399, 397, 395, 393, 391, 390, 388,
        424, 421, 419, 416, 413, 411, 408, 405, 403, 400, 397, 395, 392, 390, 387, 384,
        432, 429, 425, 422, 418, 415, 411, 408, 405, 401, 398, 394, 391, 388, 384, 381

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        70,  42,  38,  27,  42,  33,  30,  25,  38,  30,  21,  17,  27,  25,  17,  12,

        /*Size 8 x 8*/
        64,  82,  40,  39,  36,  31,  26,  21,  82,  53,  41,  47,  45,  40,  34,  28,
        40,  41,  33,  35,  35,  33,  29,  25,  39,  47,  35,  29,  28,  26,  24,  21,
        36,  45,  35,  28,  23,  21,  19,  17,  31,  40,  33,  26,  21,  18,  16,  14,
        26,  34,  29,  24,  19,  16,  14,  12,  21,  28,  25,  21,  17,  14,  12,  11,

        /*Size 16 x 16*/
        64,  73,  82,  61,  40,  40,  39,  37,  36,  33,  31,  28,  26,  23,  21,  21,
        73,  70,  68,  54,  41,  42,  43,  41,  40,  38,  35,  32,  30,  27,  25,  25,
        82,  68,  53,  47,  41,  44,  47,  46,  45,  42,  40,  37,  34,  31,  28,  28,
        61,  54,  47,  42,  37,  39,  41,  40,  40,  38,  36,  34,  31,  29,  27,  27,
        40,  41,  41,  37,  33,  34,  35,  35,  35,  34,  33,  31,  29,  27,  25,  25,
        40,  42,  44,  39,  34,  33,  32,  32,  31,  30,  29,  28,  26,  25,  23,  23,
        39,  43,  47,  41,  35,  32,  29,  28,  28,  27,  26,  25,  24,  22,  21,  21,
        37,  41,  46,  40,  35,  32,  28,  27,  25,  24,  23,  22,  21,  20,  19,  19,
        36,  40,  45,  40,  35,  31,  28,  25,  23,  22,  21,  20,  19,  18,  17,  17,
        33,  38,  42,  38,  34,  30,  27,  24,  22,  21,  20,  19,  18,  17,  16,  16,
        31,  35,  40,  36,  33,  29,  26,  23,  21,  20,  18,  17,  16,  15,  14,  14,
        28,  32,  37,  34,  31,  28,  25,  22,  20,  19,  17,  16,  15,  14,  13,  13,
        26,  30,  34,  31,  29,  26,  24,  21,  19,  18,  16,  15,  14,  13,  12,  12,
        23,  27,  31,  29,  27,  25,  22,  20,  18,  17,  15,  14,  13,  12,  12,  12,
        21,  25,  28,  27,  25,  23,  21,  19,  17,  16,  14,  13,  12,  12,  11,  11,
        21,  25,  28,  27,  25,  23,  21,  19,  17,  16,  14,  13,  12,  12,  11,  11,

        /*Size 32 x 32*/
        64,  69,  73,  78,  82,  72,  61,  51,  40,  40,  40,  39,  39,  38,  37,  36,
        69,  70,  72,  73,  75,  66,  58,  49,  40,  40,  41,  41,  41,  40,  39,  39,
        73,  72,  70,  69,  68,  61,  54,  47,  41,  41,  42,  42,  43,  42,  41,  41,
        78,  73,  69,  65,  61,  56,  51,  46,  41,  42,  43,  44,  45,  44,  44,  43,
        82,  75,  68,  61,  53,  50,  47,  44,  41,  42,  44,  45,  47,  46,  46,  45,
        72,  66,  61,  56,  50,  47,  45,  42,  39,  40,  41,  42,  44,  43,  43,  43,
        61,  58,  54,  51,  47,  45,  42,  40,  37,  38,  39,  40,  41,  40,  40,  40,
        51,  49,  47,  46,  44,  42,  40,  37,  35,  36,  36,  37,  38,  38,  38,  38,
        40,  40,  41,  41,  41,  39,  37,  35,  33,  34,  34,  34,  35,  35,  35,  35,
        40,  40,  41,  42,  42,  40,  38,  36,  34,  34,  34,  33,  33,  33,  33,  33,
        40,  41,  42,  43,  44,  41,  39,  36,  34,  34,  33,  33,  32,  32,  32,  31,
        39,  41,  42,  44,  45,  42,  40,  37,  34,  33,  33,  32,  31,  30,  30,  30,
        39,  41,  43,  45,  47,  44,  41,  38,  35,  33,  32,  31,  29,  29,  28,  28,
        38,  40,  42,  44,  46,  43,  40,  38,  35,  33,  32,  30,  29,  28,  28,  27,
        37,  39,  41,  44,  46,  43,  40,  38,  35,  33,  32,  30,  28,  28,  27,  26,
        36,  39,  41,  43,  45,  43,  40,  38,  35,  33,  31,  30,  28,  27,  26,  25,

        /*Size 64 x 64*/
        64,  66,  69,  71,  73,  75,  78,  80,  82,  77,  72,  66,  61,  56,  51,  45,
        66,  68,  69,  71,  72,  74,  76,  77,  79,  74,  69,  64,  59,  55,  50,  45,
        69,  69,  70,  71,  72,  73,  73,  74,  75,  71,  66,  62,  58,  53,  49,  45,
        71,  71,  71,  71,  71,  71,  71,  71,  71,  68,  64,  60,  56,  52,  48,  44,
        73,  72,  72,  71,  70,  70,  69,  68,  68,  64,  61,  58,  54,  51,  47,  44,
        75,  74,  73,  71,  70,  68,  67,  66,  64,  61,  58,  55,  52,  49,  47,  44,
        78,  76,  73,  71,  69,  67,  65,  63,  61,  58,  56,  53,  51,  48,  46,  43,
        80,  77,  74,  71,  68,  66,  63,  60,  57,  55,  53,  51,  49,  47,  45,  43,
        82,  79,  75,  71,  68,  64,  61,  57,  53,  52,  50,  49,  47,  46,  44,  43,
        77,  74,  71,  68,  64,  61,  58,  55,  52,  50,  49,  47,  46,  44,  43,  41,
        72,  69,  66,  64,  61,  58,  56,  53,  50,  49,  47,  46,  45,  43,  42,  40,
        66,  64,  62,  60,  58,  55,  53,  51,  49,  47,  46,  45,  43,  42,  41,  39,
        61,  59,  58,  56,  54,  52,  51,  49,  47,  46,  45,  43,  42,  41,  40,  38,
        56,  55,  53,  52,  51,  49,  48,  47,  46,  44,  43,  42,  41,  40,  39,  37,
        51,  50,  49,  48,  47,  47,  46,  45,  44,  43,  42,  41,  40,  39,  37,  36,
        45,  45,  45,  44,  44,  44,  43,  43,  43,  41,  40,  39,  38,  37,  36,  35,

        /*Size 128 x 128*/
        64,  65,  66,  67,  69,  70,  71,  72,  73,  74,  75,  77,  78,  79,  80,  81,
        65,  66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  79,
        66,  67,  68,  69,  69,  70,  71,  72,  72,  73,  74,  75,  76,  76,  77,  78,
        67,  68,  69,  69,  70,  70,  71,  72,  72,  73,  73,  74,  74,  75,  76,  76,
        69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  73,  73,  73,  74,  74,  75,
        70,  70,  70,  70,  71,  71,  71,  71,  71,  72,  72,  72,  72,  73,  73,  73,
        71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,
        72,  72,  72,  72,  71,  71,  71,  71,  71,  71,  70,  70,  70,  70,  70,  70,
        73,  73,  72,  72,  72,  71,  71,  71,  70,  70,  70,  69,  69,  69,  68,  68,
        74,  74,  73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  67,  67,  66,
        75,  75,  74,  73,  73,  72,  71,  70,  70,  69,  68,  68,  67,  66,  66,  65,
        77,  76,  75,  74,  73,  72,  71,  70,  69,  69,  68,  67,  66,  65,  64,  63,
        78,  77,  76,  74,  73,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  62,
        79,  78,  76,  75,  74,  73,  71,  70,  69,  67,  66,  65,  64,  62,  61,  60,
        80,  79,  77,  76,  74,  73,  71,  70,  68,  67,  66,  64,  63,  61,  60,  58,
        81,  79,  78,  76,  75,  73,  71,  70,  68,  66,  65,  63,  62,  60,  58,  57

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        178, 107,  98,  72, 107,  86,  79,  66,  98,  79,  56,  46,  72,  66,  46,  35,

        /*Size 8 x 8*/
        163, 207, 103, 101,  93,  80,  68,  57, 207, 136, 106, 120, 116, 103,  88,  75,
        103, 106,  87,  91,  91,  85,  76,  67, 101, 120,  91,  77,  73,  68,  63,  57,
        93, 116,  91,  73,  62,  57,  52,  48,  80, 103,  85,  68,  57,  49,  44,  41,
        68,  88,  76,  63,  52,  44,  39,  35,  57,  75,  67,  57,  48,  41,  35,  31,

        /*Size 16 x 16*/
        163, 185, 207, 155, 103, 102, 101,  97,  93,  86,  80,  74,  68,  63,  57,  57,
        185, 178, 172, 138, 105, 107, 110, 107, 104,  98,  92,  85,  78,  72,  66,  66,
        207, 172, 136, 121, 106, 113, 120, 118, 116, 109, 103,  96,  88,  82,  75,  75,
        155, 138, 121, 109,  96, 101, 105, 104, 103,  99,  94,  88,  82,  77,  71,  71,
        103, 105, 106,  96,  87,  89,  91,  91,  91,  88,  85,  81,  76,  72,  67,  67,
        102, 107, 113, 101,  89,  86,  84,  83,  82,  79,  77,  73,  70,  66,  62,  62,
        101, 110, 120, 105,  91,  84,  77,  75,  73,  70,  68,  66,  63,  60,  57,  57,
        97, 107, 118, 104,  91,  83,  75,  71,  67,  65,  62,  60,  58,  55,  52,  52,
        93, 104, 116, 103,  91,  82,  73,  67,  62,  59,  57,  54,  52,  50,  48,  48,
        86,  98, 109,  99,  88,  79,  70,  65,  59,  56,  53,  51,  48,  46,  44,  44,
        80,  92, 103,  94,  85,  77,  68,  62,  57,  53,  49,  47,  44,  42,  41,  41,
        74,  85,  96,  88,  81,  73,  66,  60,  54,  51,  47,  44,  42,  40,  38,  38,
        68,  78,  88,  82,  76,  70,  63,  58,  52,  48,  44,  42,  39,  37,  35,  35,
        63,  72,  82,  77,  72,  66,  60,  55,  50,  46,  42,  40,  37,  35,  33,  33,
        57,  66,  75,  71,  67,  62,  57,  52,  48,  44,  41,  38,  35,  33,  31,  31,
        57,  66,  75,  71,  67,  62,  57,  52,  48,  44,  41,  38,  35,  33,  31,  31,

        /*Size 32 x 32*/
        163, 174, 185, 196, 207, 181, 155, 129, 103, 103, 102, 101, 101,  99,  97,  95,
        174, 178, 181, 185, 189, 168, 147, 125, 104, 104, 105, 105, 105, 104, 102, 100,
        185, 181, 178, 175, 172, 155, 138, 121, 105, 106, 107, 109, 110, 109, 107, 106,
        196, 185, 175, 164, 154, 142, 129, 117, 105, 108, 110, 112, 115, 114, 112, 111,
        207, 189, 172, 154, 136, 128, 121, 113, 106, 109, 113, 116, 120, 119, 118, 117,
        181, 168, 155, 142, 128, 122, 115, 108, 101, 104, 107, 109, 112, 112, 111, 110,
        155, 147, 138, 129, 121, 115, 109, 102,  96,  98, 101, 103, 105, 105, 104, 104,
        129, 125, 121, 117, 113, 108, 102,  97,  92,  93,  95,  96,  98,  98,  98,  97,
        103, 104, 105, 105, 106, 101,  96,  92,  87,  88,  89,  90,  91,  91,  91,  91,
        103, 104, 106, 108, 109, 104,  98,  93,  88,  88,  88,  87,  87,  87,  87,  87,
        102, 105, 107, 110, 113, 107, 101,  95,  89,  88,  86,  85,  84,  83,  83,  82,
        101, 105, 109, 112, 116, 109, 103,  96,  90,  87,  85,  83,  81,  80,  79,  78,
        101, 105, 110, 115, 120, 112, 105,  98,  91,  87,  84,  81,  77,  76,  75,  74,
        99, 104, 109, 114, 119, 112, 105,  98,  91,  87,  83,  80,  76,  75,  73,  71,
        97, 102, 107, 112, 118, 111, 104,  98,  91,  87,  83,  79,  75,  73,  71,  69,
        95, 100, 106, 111, 117, 110, 104,  97,  91,  87,  82,  78,  74,  71,  69,  67,

        /*Size 64 x 64*/
        163, 168, 174, 179, 185, 190, 196, 201, 207, 194, 181, 168, 155, 142, 129, 116,
        168, 172, 176, 179, 183, 187, 191, 194, 198, 186, 174, 163, 151, 139, 127, 115,
        174, 176, 178, 179, 181, 183, 185, 187, 189, 179, 168, 157, 147, 136, 125, 115,
        179, 179, 179, 180, 180, 180, 180, 180, 180, 171, 161, 152, 142, 133, 123, 114,
        185, 183, 181, 180, 178, 176, 175, 173, 172, 163, 155, 146, 138, 130, 121, 113,
        190, 187, 183, 180, 176, 173, 170, 166, 163, 155, 148, 141, 134, 126, 119, 112,
        196, 191, 185, 180, 175, 170, 164, 159, 154, 148, 142, 136, 129, 123, 117, 111,
        201, 194, 187, 180, 173, 166, 159, 152, 145, 140, 135, 130, 125, 120, 115, 110,
        207, 198, 189, 180, 172, 163, 154, 145, 136, 132, 128, 125, 121, 117, 113, 110,
        194, 186, 179, 171, 163, 155, 148, 140, 132, 129, 125, 121, 118, 114, 111, 107,
        181, 174, 168, 161, 155, 148, 142, 135, 128, 125, 122, 118, 115, 111, 108, 104,
        168, 163, 157, 152, 146, 141, 136, 130, 125, 121, 118, 115, 112, 108, 105, 102,
        155, 151, 147, 142, 138, 134, 129, 125, 121, 118, 115, 112, 109, 105, 102,  99,
        142, 139, 136, 133, 130, 126, 123, 120, 117, 114, 111, 108, 105, 103, 100,  97,
        129, 127, 125, 123, 121, 119, 117, 115, 113, 111, 108, 105, 102, 100,  97,  94,
        116, 115, 115, 114, 113, 112, 111, 110, 110, 107, 104, 102,  99,  97,  94,  92,

        /*Size 128 x 128*/
        163, 165, 168, 171, 174, 176, 179, 182, 185, 188, 190, 193, 196, 199, 201, 204,
        165, 168, 170, 172, 175, 177, 179, 182, 184, 186, 189, 191, 193, 196, 198, 200,
        168, 170, 172, 174, 176, 177, 179, 181, 183, 185, 187, 189, 191, 192, 194, 196,
        171, 172, 174, 175, 177, 178, 179, 181, 182, 184, 185, 187, 188, 189, 191, 192,
        174, 175, 176, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188,
        176, 177, 177, 178, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184,
        179, 179, 179, 179, 179, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180,
        182, 182, 181, 181, 180, 180, 180, 179, 179, 179, 178, 178, 177, 177, 177, 176,
        185, 184, 183, 182, 181, 181, 180, 179, 178, 177, 176, 176, 175, 174, 173, 172,
        188, 186, 185, 184, 182, 181, 180, 179, 177, 176, 175, 173, 172, 171, 170, 168,
        190, 189, 187, 185, 183, 182, 180, 178, 176, 175, 173, 171, 170, 168, 166, 164,
        193, 191, 189, 187, 184, 182, 180, 178, 176, 173, 171, 169, 167, 165, 163, 160,
        196, 193, 191, 188, 185, 183, 180, 177, 175, 172, 170, 167, 164, 162, 159, 156,
        199, 196, 192, 189, 186, 183, 180, 177, 174, 171, 168, 165, 162, 159, 155, 152,
        201, 198, 194, 191, 187, 184, 180, 177, 173, 170, 166, 163, 159, 155, 152, 148,
        204, 200, 196, 192, 188, 184, 180, 176, 172, 168, 164, 160, 156, 152, 148, 144

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        70,  39,  34,  25,  39,  30,  27,  22,  34,  27,  19,  15,  25,  22,  15,  11,

        /*Size 8 x 8*/
        64,  82,  40,  35,  32,  28,  23,  19,  82,  53,  37,  42,  41,  36,  31,  26,
        40,  37,  30,  32,  32,  30,  26,  23,  35,  42,  32,  27,  25,  23,  21,  19,
        32,  41,  32,  25,  21,  19,  17,  16,  28,  36,  30,  23,  19,  16,  15,  13,
        23,  31,  26,  21,  17,  15,  13,  11,  19,  26,  23,  19,  16,  13,  11,  10,

        /*Size 16 x 16*/
        64,  73,  82,  61,  40,  38,  35,  34,  32,  30,  28,  26,  23,  21,  19,  19,
        73,  70,  68,  53,  39,  39,  39,  38,  37,  34,  32,  29,  27,  25,  23,  23,
        82,  68,  53,  45,  37,  40,  42,  42,  41,  38,  36,  33,  31,  28,  26,  26,
        61,  53,  45,  40,  34,  35,  37,  37,  36,  35,  33,  31,  29,  26,  24,  24,
        40,  39,  37,  34,  30,  31,  32,  32,  32,  31,  30,  28,  26,  25,  23,  23,
        38,  39,  40,  35,  31,  30,  29,  29,  28,  27,  26,  25,  24,  22,  21,  21,
        35,  39,  42,  37,  32,  29,  27,  26,  25,  24,  23,  22,  21,  20,  19,  19,
        34,  38,  42,  37,  32,  29,  26,  24,  23,  22,  21,  20,  19,  18,  17,  17,
        32,  37,  41,  36,  32,  28,  25,  23,  21,  20,  19,  18,  17,  17,  16,  16,
        30,  34,  38,  35,  31,  27,  24,  22,  20,  19,  18,  17,  16,  15,  14,  14,
        28,  32,  36,  33,  30,  26,  23,  21,  19,  18,  16,  15,  15,  14,  13,  13,
        26,  29,  33,  31,  28,  25,  22,  20,  18,  17,  15,  14,  14,  13,  12,  12,
        23,  27,  31,  29,  26,  24,  21,  19,  17,  16,  15,  14,  13,  12,  11,  11,
        21,  25,  28,  26,  25,  22,  20,  18,  17,  15,  14,  13,  12,  11,  10,  10,
        19,  23,  26,  24,  23,  21,  19,  17,  16,  14,  13,  12,  11,  10,  10,  10,
        19,  23,  26,  24,  23,  21,  19,  17,  16,  14,  13,  12,  11,  10,  10,  10,

        /*Size 32 x 32*/
        64,  69,  73,  78,  82,  72,  61,  51,  40,  39,  38,  36,  35,  35,  34,  33,
        69,  70,  72,  73,  75,  66,  57,  48,  39,  39,  38,  38,  37,  36,  36,  35,
        73,  72,  70,  69,  68,  60,  53,  46,  39,  39,  39,  39,  39,  38,  38,  37,
        78,  73,  69,  65,  61,  55,  49,  44,  38,  39,  39,  40,  41,  40,  40,  39,
        82,  75,  68,  61,  53,  49,  45,  41,  37,  39,  40,  41,  42,  42,  42,  41,
        72,  66,  60,  55,  49,  46,  42,  39,  36,  37,  38,  39,  40,  39,  39,  39,
        61,  57,  53,  49,  45,  42,  40,  37,  34,  35,  35,  36,  37,  37,  37,  36,
        51,  48,  46,  44,  41,  39,  37,  34,  32,  33,  33,  34,  34,  34,  34,  34,
        40,  39,  39,  38,  37,  36,  34,  32,  30,  31,  31,  31,  32,  32,  32,  32,
        39,  39,  39,  39,  39,  37,  35,  33,  31,  31,  30,  30,  30,  30,  30,  30,
        38,  38,  39,  39,  40,  38,  35,  33,  31,  30,  30,  30,  29,  29,  29,  28,
        36,  38,  39,  40,  41,  39,  36,  34,  31,  30,  30,  29,  28,  28,  27,  27,
        35,  37,  39,  41,  42,  40,  37,  34,  32,  30,  29,  28,  27,  26,  26,  25,
        35,  36,  38,  40,  42,  39,  37,  34,  32,  30,  29,  28,  26,  26,  25,  24,
        34,  36,  38,  40,  42,  39,  37,  34,  32,  30,  29,  27,  26,  25,  24,  24,
        33,  35,  37,  39,  41,  39,  36,  34,  32,  30,  28,  27,  25,  24,  24,  23,

        /*Size 64 x 64*/
        64,  66,  69,  71,  73,  75,  78,  80,  82,  77,  72,  66,  61,  56,  51,  45,
        66,  68,  69,  71,  72,  74,  76,  77,  79,  74,  69,  64,  59,  54,  49,  45,
        69,  69,  70,  71,  72,  73,  73,  74,  75,  71,  66,  62,  57,  53,  48,  44,
        71,  71,  71,  71,  71,  71,  71,  71,  71,  67,  63,  59,  55,  51,  47,  43,
        73,  72,  72,  71,  70,  70,  69,  68,  68,  64,  60,  57,  53,  50,  46,  42,
        75,  74,  73,  71,  70,  68,  67,  66,  64,  61,  58,  54,  51,  48,  45,  42,
        78,  76,  73,  71,  69,  67,  65,  63,  61,  58,  55,  52,  49,  46,  44,  41,
        80,  77,  74,  71,  68,  66,  63,  60,  57,  54,  52,  50,  47,  45,  42,  40,
        82,  79,  75,  71,  68,  64,  61,  57,  53,  51,  49,  47,  45,  43,  41,  39,
        77,  74,  71,  67,  64,  61,  58,  54,  51,  49,  48,  46,  44,  42,  40,  38,
        72,  69,  66,  63,  60,  58,  55,  52,  49,  48,  46,  44,  42,  41,  39,  37,
        66,  64,  62,  59,  57,  54,  52,  50,  47,  46,  44,  43,  41,  39,  38,  36,
        61,  59,  57,  55,  53,  51,  49,  47,  45,  44,  42,  41,  40,  38,  37,  35,
        56,  54,  53,  51,  50,  48,  46,  45,  43,  42,  41,  39,  38,  37,  35,  34,
        51,  49,  48,  47,  46,  45,  44,  42,  41,  40,  39,  38,  37,  35,  34,  33,
        45,  45,  44,  43,  42,  42,  41,  40,  39,  38,  37,  36,  35,  34,  33,  32,

        /*Size 128 x 128*/
        64,  65,  66,  67,  69,  70,  71,  72,  73,  74,  75,  77,  78,  79,  80,  81,
        65,  66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  79,
        66,  67,  68,  69,  69,  70,  71,  72,  72,  73,  74,  75,  76,  76,  77,  78,
        67,  68,  69,  69,  70,  70,  71,  72,  72,  73,  73,  74,  74,  75,  76,  76,
        69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  73,  73,  73,  74,  74,  75,
        70,  70,  70,  70,  71,  71,  71,  71,  71,  72,  72,  72,  72,  73,  73,  73,
        71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,
        72,  72,  72,  72,  71,  71,  71,  71,  71,  71,  70,  70,  70,  70,  70,  70,
        73,  73,  72,  72,  72,  71,  71,  71,  70,  70,  70,  69,  69,  69,  68,  68,
        74,  74,  73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  67,  67,  66,
        75,  75,  74,  73,  73,  72,  71,  70,  70,  69,  68,  68,  67,  66,  66,  65,
        77,  76,  75,  74,  73,  72,  71,  70,  69,  69,  68,  67,  66,  65,  64,  63,
        78,  77,  76,  74,  73,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  62,
        79,  78,  76,  75,  74,  73,  71,  70,  69,  67,  66,  65,  64,  62,  61,  60,
        80,  79,  77,  76,  74,  73,  71,  70,  68,  67,  66,  64,  63,  61,  60,  58,
        81,  79,  78,  76,  75,  73,  71,  70,  68,  66,  65,  63,  62,  60,  58,  57

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        195, 109,  97,  72, 109,  86,  79,  66,  97,  79,  56,  46,  72,  66,  46,  35,

        /*Size 8 x 8*/
        178, 227, 113, 100,  92,  80,  68,  57, 227, 149, 106, 119, 115, 102,  88,  75,
        113, 106,  87,  90,  91,  85,  76,  67, 100, 119,  90,  77,  72,  68,  63,  57,
        92, 115,  91,  72,  62,  57,  52,  48,  80, 102,  85,  68,  57,  49,  44,  41,
        68,  88,  76,  63,  52,  44,  39,  35,  57,  75,  67,  57,  48,  41,  35,  32,

        /*Size 16 x 16*/
        178, 202, 227, 170, 113, 107, 100,  96,  92,  86,  80,  74,  68,  63,  57,  57,
        202, 195, 188, 149, 109, 109, 110, 107, 104,  97,  91,  85,  78,  72,  66,  66,
        227, 188, 149, 127, 106, 112, 119, 117, 115, 109, 102,  95,  88,  81,  75,  75,
        170, 149, 127, 112,  96, 100, 105, 104, 103,  98,  94,  88,  82,  76,  71,  71,
        113, 109, 106,  96,  87,  88,  90,  91,  91,  88,  85,  81,  76,  71,  67,  67,
        107, 109, 112, 100,  88,  86,  84,  83,  82,  79,  77,  73,  69,  66,  62,  62,
        100, 110, 119, 105,  90,  84,  77,  75,  72,  70,  68,  66,  63,  60,  57,  57,
        96, 107, 117, 104,  91,  83,  75,  71,  67,  65,  62,  60,  57,  55,  52,  52,
        92, 104, 115, 103,  91,  82,  72,  67,  62,  59,  57,  54,  52,  50,  48,  48,
        86,  97, 109,  98,  88,  79,  70,  65,  59,  56,  53,  50,  48,  46,  44,  44,
        80,  91, 102,  94,  85,  77,  68,  62,  57,  53,  49,  47,  44,  42,  41,  41,
        74,  85,  95,  88,  81,  73,  66,  60,  54,  50,  47,  44,  42,  40,  38,  38,
        68,  78,  88,  82,  76,  69,  63,  57,  52,  48,  44,  42,  39,  37,  35,  35,
        63,  72,  81,  76,  71,  66,  60,  55,  50,  46,  42,  40,  37,  35,  33,  33,
        57,  66,  75,  71,  67,  62,  57,  52,  48,  44,  41,  38,  35,  33,  32,  32,
        57,  66,  75,  71,  67,  62,  57,  52,  48,  44,  41,  38,  35,  33,  32,  32,

        /*Size 32 x 32*/
        178, 190, 202, 215, 227, 198, 170, 141, 113, 110, 107, 103, 100,  98,  96,  94,
        190, 194, 199, 203, 207, 183, 159, 135, 111, 110, 108, 106, 105, 103, 101, 100,
        202, 199, 195, 191, 188, 168, 149, 129, 109, 109, 109, 110, 110, 108, 107, 105,
        215, 203, 191, 180, 168, 153, 138, 123, 107, 109, 111, 113, 114, 113, 112, 110,
        227, 207, 188, 168, 149, 138, 127, 116, 106, 109, 112, 116, 119, 118, 117, 116,
        198, 183, 168, 153, 138, 129, 119, 110, 101, 104, 106, 109, 112, 111, 110, 110,
        170, 159, 149, 138, 127, 119, 112, 104,  96,  98, 100, 102, 105, 104, 104, 103,
        141, 135, 129, 123, 116, 110, 104,  98,  91,  93,  94,  96,  97,  97,  97,  97,
        113, 111, 109, 107, 106, 101,  96,  91,  87,  87,  88,  89,  90,  90,  91,  91,
        110, 110, 109, 109, 109, 104,  98,  93,  87,  87,  87,  87,  87,  87,  87,  86,
        107, 108, 109, 111, 112, 106, 100,  94,  88,  87,  86,  85,  84,  83,  83,  82,
        103, 106, 110, 113, 116, 109, 102,  96,  89,  87,  85,  83,  80,  79,  79,  78,
        100, 105, 110, 114, 119, 112, 105,  97,  90,  87,  84,  80,  77,  76,  75,  73,
        98, 103, 108, 113, 118, 111, 104,  97,  90,  87,  83,  79,  76,  74,  73,  71,
        96, 101, 107, 112, 117, 110, 104,  97,  91,  87,  83,  79,  75,  73,  71,  69,
        94, 100, 105, 110, 116, 110, 103,  97,  91,  86,  82,  78,  73,  71,  69,  67,

        /*Size 64 x 64*/
        178, 184, 190, 196, 202, 208, 215, 221, 227, 213, 198, 184, 170, 156, 141, 127,
        184, 188, 192, 196, 200, 205, 209, 213, 217, 204, 191, 178, 165, 151, 138, 125,
        190, 192, 194, 196, 199, 201, 203, 205, 207, 195, 183, 171, 159, 147, 135, 123,
        196, 196, 196, 197, 197, 197, 197, 197, 198, 187, 176, 165, 154, 143, 132, 121,
        202, 200, 199, 197, 195, 193, 191, 190, 188, 178, 168, 158, 149, 139, 129, 119,
        208, 205, 201, 197, 193, 189, 186, 182, 178, 169, 161, 152, 143, 134, 126, 117,
        215, 209, 203, 197, 191, 186, 180, 174, 168, 161, 153, 145, 138, 130, 123, 115,
        221, 213, 205, 197, 190, 182, 174, 166, 159, 152, 145, 139, 132, 126, 119, 113,
        227, 217, 207, 198, 188, 178, 168, 159, 149, 143, 138, 133, 127, 122, 116, 111,
        213, 204, 195, 187, 178, 169, 161, 152, 143, 138, 133, 128, 123, 118, 113, 108,
        198, 191, 183, 176, 168, 161, 153, 145, 138, 133, 129, 124, 119, 115, 110, 105,
        184, 178, 171, 165, 158, 152, 145, 139, 133, 128, 124, 120, 115, 111, 107, 103,
        170, 165, 159, 154, 149, 143, 138, 132, 127, 123, 119, 115, 112, 108, 104, 100,
        156, 151, 147, 143, 139, 134, 130, 126, 122, 118, 115, 111, 108, 104, 101,  97,
        141, 138, 135, 132, 129, 126, 123, 119, 116, 113, 110, 107, 104, 101,  98,  94,
        127, 125, 123, 121, 119, 117, 115, 113, 111, 108, 105, 103, 100,  97,  94,  92,

        /*Size 128 x 128*/
        178, 181, 184, 187, 190, 193, 196, 199, 202, 205, 208, 211, 215, 218, 221, 224,
        181, 183, 186, 189, 191, 194, 196, 199, 201, 204, 206, 209, 212, 214, 217, 219,
        184, 186, 188, 190, 192, 194, 196, 198, 200, 203, 205, 207, 209, 211, 213, 215,
        187, 189, 190, 192, 193, 195, 196, 198, 200, 201, 203, 204, 206, 207, 209, 211,
        190, 191, 192, 193, 194, 195, 196, 198, 199, 200, 201, 202, 203, 204, 205, 206,
        193, 194, 194, 195, 195, 196, 197, 197, 198, 198, 199, 199, 200, 201, 201, 202,
        196, 196, 196, 196, 196, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197,
        199, 199, 198, 198, 198, 197, 197, 196, 196, 195, 195, 195, 194, 194, 193, 193,
        202, 201, 200, 200, 199, 198, 197, 196, 195, 194, 193, 192, 191, 190, 190, 189,
        205, 204, 203, 201, 200, 198, 197, 195, 194, 193, 191, 190, 188, 187, 186, 184,
        208, 206, 205, 203, 201, 199, 197, 195, 193, 191, 189, 187, 186, 184, 182, 180,
        211, 209, 207, 204, 202, 199, 197, 195, 192, 190, 187, 185, 183, 180, 178, 176,
        215, 212, 209, 206, 203, 200, 197, 194, 191, 188, 186, 183, 180, 177, 174, 171,
        218, 214, 211, 207, 204, 201, 197, 194, 190, 187, 184, 180, 177, 174, 170, 167,
        221, 217, 213, 209, 205, 201, 197, 193, 190, 186, 182, 178, 174, 170, 166, 162,
        224, 219, 215, 211, 206, 202, 197, 193, 189, 184, 180, 176, 171, 167, 162, 158

      }
    }
  },
  {
    /* QM level 2*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        78,  71,  41,  25,  71,  46,  32,  23,  41,  32,  22,  17,  25,  23,  17,  14,

        /*Size 8 x 8*/
        64,  87,  80,  60,  43,  33,  25,  21,  87,  75,  79,  66,  51,  39,  30,  24,
        80,  79,  55,  46,  39,  32,  27,  22,  60,  66,  46,  36,  30,  26,  23,  20,
        43,  51,  39,  30,  25,  22,  19,  17,  33,  39,  32,  26,  22,  19,  17,  16,
        25,  30,  27,  23,  19,  17,  15,  14,  21,  24,  22,  20,  17,  16,  14,  13,

        /*Size 16 x 16*/
        64,  75,  87,  83,  80,  70,  60,  51,  43,  38,  33,  29,  25,  23,  21,  21,
        75,  78,  81,  80,  79,  71,  63,  55,  47,  41,  36,  32,  28,  25,  22,  22,
        87,  81,  75,  77,  79,  72,  66,  59,  51,  45,  39,  35,  30,  27,  24,  24,
        83,  80,  77,  72,  67,  61,  56,  51,  45,  40,  36,  32,  28,  26,  23,  23,
        80,  79,  79,  67,  55,  51,  46,  43,  39,  36,  32,  29,  27,  24,  22,  22,
        70,  71,  72,  61,  51,  46,  41,  38,  35,  32,  29,  27,  25,  23,  21,  21,
        60,  63,  66,  56,  46,  41,  36,  33,  30,  28,  26,  24,  23,  21,  20,  20,
        51,  55,  59,  51,  43,  38,  33,  30,  27,  26,  24,  22,  21,  20,  18,  18,
        43,  47,  51,  45,  39,  35,  30,  27,  25,  23,  22,  20,  19,  18,  17,  17,
        38,  41,  45,  40,  36,  32,  28,  26,  23,  22,  20,  19,  18,  17,  16,  16,
        33,  36,  39,  36,  32,  29,  26,  24,  22,  20,  19,  18,  17,  16,  16,  16,
        29,  32,  35,  32,  29,  27,  24,  22,  20,  19,  18,  17,  16,  15,  15,  15,
        25,  28,  30,  28,  27,  25,  23,  21,  19,  18,  17,  16,  15,  15,  14,  14,
        23,  25,  27,  26,  24,  23,  21,  20,  18,  17,  16,  15,  15,  14,  14,  14,
        21,  22,  24,  23,  22,  21,  20,  18,  17,  16,  16,  15,  14,  14,  13,  13,
        21,  22,  24,  23,  22,  21,  20,  18,  17,  16,  16,  15,  14,  14,  13,  13,

        /*Size 32 x 32*/
        64,  70,  75,  81,  87,  85,  83,  81,  80,  75,  70,  65,  60,  55,  51,  47,
        70,  73,  77,  80,  84,  83,  82,  80,  79,  75,  70,  66,  61,  57,  53,  49,
        75,  77,  78,  79,  81,  80,  80,  80,  79,  75,  71,  67,  63,  59,  55,  51,
        81,  80,  79,  79,  78,  78,  78,  79,  79,  75,  72,  68,  65,  61,  57,  53,
        87,  84,  81,  78,  75,  76,  77,  78,  79,  75,  72,  69,  66,  62,  59,  55,
        85,  83,  80,  78,  76,  75,  74,  73,  73,  70,  67,  64,  61,  58,  55,  51,
        83,  82,  80,  78,  77,  74,  72,  69,  67,  64,  61,  59,  56,  53,  51,  48,
        81,  80,  80,  79,  78,  73,  69,  65,  61,  58,  56,  54,  51,  49,  47,  44,
        80,  79,  79,  79,  79,  73,  67,  61,  55,  53,  51,  48,  46,  44,  43,  41,
        75,  75,  75,  75,  75,  70,  64,  58,  53,  50,  48,  46,  44,  42,  40,  38,
        70,  70,  71,  72,  72,  67,  61,  56,  51,  48,  46,  43,  41,  39,  38,  36,
        65,  66,  67,  68,  69,  64,  59,  54,  48,  46,  43,  41,  38,  37,  35,  34,
        60,  61,  63,  65,  66,  61,  56,  51,  46,  44,  41,  38,  36,  34,  33,  31,
        55,  57,  59,  61,  62,  58,  53,  49,  44,  42,  39,  37,  34,  33,  31,  30,
        51,  53,  55,  57,  59,  55,  51,  47,  43,  40,  38,  35,  33,  31,  30,  29,
        47,  49,  51,  53,  55,  51,  48,  44,  41,  38,  36,  34,  31,  30,  29,  27,

        /*Size 64 x 64*/
        64,  67,  70,  72,  75,  78,  81,  84,  87,  86,  85,  84,  83,  82,  81,  81,
        67,  69,  71,  74,  76,  78,  81,  83,  85,  84,  84,  83,  82,  82,  81,  80,
        70,  71,  73,  75,  77,  78,  80,  82,  84,  83,  83,  82,  82,  81,  80,  80,
        72,  74,  75,  76,  77,  79,  80,  81,  82,  82,  81,  81,  81,  80,  80,  80,
        75,  76,  77,  77,  78,  79,  79,  80,  81,  81,  80,  80,  80,  80,  80,  79,
        78,  78,  78,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,
        81,  81,  80,  80,  79,  79,  79,  78,  78,  78,  78,  78,  78,  78,  79,  79,
        84,  83,  82,  81,  80,  79,  78,  77,  76,  77,  77,  77,  78,  78,  78,  78,
        87,  85,  84,  82,  81,  79,  78,  76,  75,  75,  76,  76,  77,  77,  78,  78,
        86,  84,  83,  82,  81,  79,  78,  77,  75,  75,  75,  75,  75,  75,  76,  76,
        85,  84,  83,  81,  80,  79,  78,  77,  76,  75,  75,  75,  74,  74,  73,  73,
        84,  83,  82,  81,  80,  79,  78,  77,  76,  75,  75,  74,  73,  72,  71,  70,
        83,  82,  82,  81,  80,  79,  78,  78,  77,  75,  74,  73,  72,  70,  69,  68,
        82,  82,  81,  80,  80,  79,  78,  78,  77,  75,  74,  72,  70,  69,  67,  65,
        81,  81,  80,  80,  80,  79,  79,  78,  78,  76,  73,  71,  69,  67,  65,  63,
        81,  80,  80,  80,  79,  79,  79,  78,  78,  76,  73,  70,  68,  65,  63,  60,

        /*Size 128 x 128*/
        64,  65,  67,  68,  70,  71,  72,  74,  75,  77,  78,  79,  81,  82,  84,  85,
        65,  67,  68,  69,  71,  72,  73,  74,  76,  77,  78,  79,  81,  82,  83,  85,
        67,  68,  69,  70,  71,  73,  74,  75,  76,  77,  78,  79,  81,  82,  83,  84,
        68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  80,  81,  82,  83,
        70,  71,  71,  72,  73,  74,  75,  76,  77,  78,  78,  79,  80,  81,  82,  83,
        71,  72,  73,  73,  74,  75,  75,  76,  77,  78,  78,  79,  80,  81,  81,  82,
        72,  73,  74,  74,  75,  75,  76,  77,  77,  78,  79,  79,  80,  80,  81,  82,
        74,  74,  75,  75,  76,  76,  77,  77,  78,  78,  79,  79,  80,  80,  81,  81,
        75,  76,  76,  76,  77,  77,  77,  78,  78,  78,  79,  79,  79,  80,  80,  80,
        77,  77,  77,  77,  78,  78,  78,  78,  78,  79,  79,  79,  79,  79,  80,  80,
        78,  78,  78,  78,  78,  78,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,
        79,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,  79,
        81,  81,  81,  80,  80,  80,  80,  80,  79,  79,  79,  79,  79,  78,  78,  78,
        82,  82,  82,  81,  81,  81,  80,  80,  80,  79,  79,  79,  78,  78,  78,  77,
        84,  83,  83,  82,  82,  81,  81,  81,  80,  80,  79,  79,  78,  78,  77,  77,
        85,  85,  84,  83,  83,  82,  82,  81,  80,  80,  79,  79,  78,  77,  77,  76

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        285, 257, 139,  74, 257, 156, 101,  64, 139, 101,  60,  42,  74,  64,  42,  31,

        /*Size 8 x 8*/
        229, 319, 292, 211, 147, 103,  75,  56, 319, 273, 287, 239, 177, 129,  94,  71,
        292, 287, 192, 159, 130, 102,  80,  62, 211, 239, 159, 116,  94,  77,  63,  52,
        147, 177, 130,  94,  73,  60,  50,  43, 103, 129, 102,  77,  60,  49,  41,  36,
        75,  94,  80,  63,  50,  41,  35,  31,  56,  71,  62,  52,  43,  36,  31,  27,

        /*Size 16 x 16*/
        229, 274, 319, 306, 292, 252, 211, 179, 147, 125, 103,  89,  75,  65,  56,  56,
        274, 285, 296, 293, 289, 257, 225, 193, 162, 139, 116, 100,  85,  74,  63,  63,
        319, 296, 273, 280, 287, 263, 239, 208, 177, 153, 129, 112,  94,  83,  71,  71,
        306, 293, 280, 260, 240, 219, 199, 176, 154, 135, 116, 101,  87,  77,  67,  67,
        292, 289, 287, 240, 192, 176, 159, 144, 130, 116, 102,  91,  80,  71,  62,  62,
        252, 257, 263, 219, 176, 156, 137, 124, 112, 101,  90,  81,  71,  64,  57,  57,
        211, 225, 239, 199, 159, 137, 116, 105,  94,  85,  77,  70,  63,  58,  52,  52,
        179, 193, 208, 176, 144, 124, 105,  94,  83,  76,  68,  63,  57,  52,  47,  47,
        147, 162, 177, 154, 130, 112,  94,  83,  73,  66,  60,  55,  50,  47,  43,  43,
        125, 139, 153, 135, 116, 101,  85,  76,  66,  60,  54,  50,  46,  42,  39,  39,
        103, 116, 129, 116, 102,  90,  77,  68,  60,  54,  49,  45,  41,  38,  36,  36,
        89, 100, 112, 101,  91,  81,  70,  63,  55,  50,  45,  41,  38,  35,  33,  33,
        75,  85,  94,  87,  80,  71,  63,  57,  50,  46,  41,  38,  35,  33,  31,  31,
        65,  74,  83,  77,  71,  64,  58,  52,  47,  42,  38,  35,  33,  31,  29,  29,
        56,  63,  71,  67,  62,  57,  52,  47,  43,  39,  36,  33,  31,  29,  27,  27,
        56,  63,  71,  67,  62,  57,  52,  47,  43,  39,  36,  33,  31,  29,  27,  27,

        /*Size 32 x 32*/
        229, 252, 274, 297, 319, 312, 306, 299, 292, 272, 252, 231, 211, 195, 179, 163,
        252, 266, 280, 294, 308, 303, 299, 295, 291, 272, 254, 236, 218, 202, 186, 170,
        274, 280, 285, 291, 296, 294, 293, 291, 289, 273, 257, 241, 225, 209, 193, 178,
        297, 294, 291, 287, 284, 285, 286, 287, 288, 274, 260, 246, 232, 216, 201, 185,
        319, 308, 296, 284, 273, 276, 280, 283, 287, 275, 263, 251, 239, 223, 208, 193,
        312, 303, 294, 285, 276, 273, 270, 266, 263, 252, 241, 230, 219, 205, 192, 179,
        306, 299, 293, 286, 280, 270, 260, 250, 240, 229, 219, 209, 199, 187, 176, 165,
        299, 295, 291, 287, 283, 266, 250, 233, 216, 207, 197, 188, 179, 169, 160, 151,
        292, 291, 289, 288, 287, 263, 240, 216, 192, 184, 176, 167, 159, 152, 144, 137,
        272, 272, 273, 274, 275, 252, 229, 207, 184, 175, 166, 157, 148, 141, 134, 128,
        252, 254, 257, 260, 263, 241, 219, 197, 176, 166, 156, 147, 137, 131, 124, 118,
        231, 236, 241, 246, 251, 230, 209, 188, 167, 157, 147, 137, 127, 121, 115, 109,
        211, 218, 225, 232, 239, 219, 199, 179, 159, 148, 137, 127, 116, 110, 105,  99,
        195, 202, 209, 216, 223, 205, 187, 169, 152, 141, 131, 121, 110, 105,  99,  94,
        179, 186, 193, 201, 208, 192, 176, 160, 144, 134, 124, 115, 105,  99,  94,  88,
        163, 170, 178, 185, 193, 179, 165, 151, 137, 128, 118, 109,  99,  94,  88,  83,

        /*Size 64 x 64*/
        229, 241, 252, 263, 274, 286, 297, 308, 319, 316, 312, 309, 306, 302, 299, 295,
        241, 250, 259, 268, 277, 286, 295, 304, 313, 311, 308, 305, 302, 299, 297, 294,
        252, 259, 266, 273, 280, 287, 294, 301, 308, 305, 303, 301, 299, 297, 295, 293,
        263, 268, 273, 278, 282, 287, 292, 297, 302, 300, 299, 297, 296, 294, 293, 291,
        274, 277, 280, 282, 285, 288, 291, 293, 296, 295, 294, 293, 293, 292, 291, 290,
        286, 286, 287, 287, 288, 288, 289, 290, 290, 290, 290, 290, 289, 289, 289, 289,
        297, 295, 294, 292, 291, 289, 287, 286, 284, 285, 285, 286, 286, 287, 287, 288,
        308, 304, 301, 297, 293, 290, 286, 282, 279, 280, 281, 282, 283, 284, 285, 286,
        319, 313, 308, 302, 296, 290, 284, 279, 273, 275, 276, 278, 280, 282, 283, 285,
        316, 311, 305, 300, 295, 290, 285, 280, 275, 275, 275, 275, 275, 275, 275, 275,
        312, 308, 303, 299, 294, 290, 285, 281, 276, 275, 273, 271, 270, 268, 266, 265,
        309, 305, 301, 297, 293, 290, 286, 282, 278, 275, 271, 268, 265, 261, 258, 255,
        306, 302, 299, 296, 293, 289, 286, 283, 280, 275, 270, 265, 260, 255, 250, 245,
        302, 299, 297, 294, 292, 289, 287, 284, 282, 275, 268, 261, 255, 248, 241, 234,
        299, 297, 295, 293, 291, 289, 287, 285, 283, 275, 266, 258, 250, 241, 233, 224,
        295, 294, 293, 291, 290, 289, 288, 286, 285, 275, 265, 255, 245, 234, 224, 214,

        /*Size 128 x 128*/
        229, 235, 241, 246, 252, 257, 263, 269, 274, 280, 286, 291, 297, 302, 308, 314,
        235, 240, 245, 250, 255, 260, 265, 271, 276, 281, 286, 291, 296, 301, 306, 311,
        241, 245, 250, 254, 259, 263, 268, 272, 277, 282, 286, 291, 295, 300, 304, 309,
        246, 250, 254, 258, 262, 266, 270, 274, 278, 282, 286, 290, 294, 298, 302, 307,
        252, 255, 259, 262, 266, 269, 273, 276, 280, 283, 287, 290, 294, 297, 301, 304,
        257, 260, 263, 266, 269, 272, 275, 278, 281, 284, 287, 290, 293, 296, 299, 302,
        263, 265, 268, 270, 273, 275, 278, 280, 282, 285, 287, 290, 292, 295, 297, 299,
        269, 271, 272, 274, 276, 278, 280, 282, 284, 286, 288, 289, 291, 293, 295, 297,
        274, 276, 277, 278, 280, 281, 282, 284, 285, 286, 288, 289, 291, 292, 293, 295,
        280, 281, 282, 282, 283, 284, 285, 286, 286, 287, 288, 289, 290, 291, 291, 292,
        286, 286, 286, 286, 287, 287, 287, 288, 288, 288, 288, 289, 289, 289, 290, 290,
        291, 291, 291, 290, 290, 290, 290, 289, 289, 289, 289, 288, 288, 288, 288, 288,
        297, 296, 295, 294, 294, 293, 292, 291, 291, 290, 289, 288, 287, 287, 286, 285,
        302, 301, 300, 298, 297, 296, 295, 293, 292, 291, 289, 288, 287, 285, 284, 283,
        308, 306, 304, 302, 301, 299, 297, 295, 293, 291, 290, 288, 286, 284, 282, 280,
        314, 311, 309, 307, 304, 302, 299, 297, 295, 292, 290, 288, 285, 283, 280, 278

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        70,  43,  39,  30,  43,  35,  32,  27,  39,  32,  24,  20,  30,  27,  20,  16,

        /*Size 8 x 8*/
        64,  81,  42,  41,  38,  33,  28,  24,  81,  54,  43,  48,  46,  41,  36,  31,
        42,  43,  35,  37,  37,  35,  31,  28,  41,  48,  37,  32,  30,  28,  26,  24,
        38,  46,  37,  30,  26,  24,  22,  20,  33,  41,  35,  28,  24,  21,  19,  18,
        28,  36,  31,  26,  22,  19,  17,  16,  24,  31,  28,  24,  20,  18,  16,  14,

        /*Size 16 x 16*/
        64,  73,  81,  61,  42,  41,  41,  39,  38,  35,  33,  30,  28,  26,  24,  24,
        73,  70,  68,  55,  42,  43,  44,  43,  42,  39,  37,  34,  32,  30,  27,  27,
        81,  68,  54,  48,  43,  45,  48,  47,  46,  44,  41,  39,  36,  33,  31,  31,
        61,  55,  48,  44,  39,  41,  42,  42,  41,  40,  38,  36,  34,  31,  29,  29,
        42,  42,  43,  39,  35,  36,  37,  37,  37,  36,  35,  33,  31,  29,  28,  28,
        41,  43,  45,  41,  36,  35,  34,  34,  33,  32,  32,  30,  29,  27,  26,  26,
        41,  44,  48,  42,  37,  34,  32,  31,  30,  29,  28,  27,  26,  25,  24,  24,
        39,  43,  47,  42,  37,  34,  31,  29,  28,  27,  26,  25,  24,  23,  22,  22,
        38,  42,  46,  41,  37,  33,  30,  28,  26,  25,  24,  23,  22,  21,  20,  20,
        35,  39,  44,  40,  36,  32,  29,  27,  25,  24,  22,  21,  21,  20,  19,  19,
        33,  37,  41,  38,  35,  32,  28,  26,  24,  22,  21,  20,  19,  18,  18,  18,
        30,  34,  39,  36,  33,  30,  27,  25,  23,  21,  20,  19,  18,  17,  17,  17,
        28,  32,  36,  34,  31,  29,  26,  24,  22,  21,  19,  18,  17,  16,  16,  16,
        26,  30,  33,  31,  29,  27,  25,  23,  21,  20,  18,  17,  16,  16,  15,  15,
        24,  27,  31,  29,  28,  26,  24,  22,  20,  19,  18,  17,  16,  15,  14,  14,
        24,  27,  31,  29,  28,  26,  24,  22,  20,  19,  18,  17,  16,  15,  14,  14,

        /*Size 32 x 32*/
        64,  68,  73,  77,  81,  71,  61,  51,  42,  41,  41,  41,  41,  40,  39,  38,
        68,  70,  71,  73,  74,  66,  58,  50,  42,  42,  42,  42,  42,  42,  41,  40,
        73,  71,  70,  69,  68,  61,  55,  48,  42,  43,  43,  44,  44,  44,  43,  42,
        77,  73,  69,  65,  61,  56,  52,  47,  42,  43,  44,  45,  46,  45,  45,  44,
        81,  74,  68,  61,  54,  51,  48,  45,  43,  44,  45,  46,  48,  47,  47,  46,
        71,  66,  61,  56,  51,  49,  46,  43,  41,  42,  43,  44,  45,  45,  44,  44,
        61,  58,  55,  52,  48,  46,  44,  41,  39,  40,  41,  41,  42,  42,  42,  42,
        51,  50,  48,  47,  45,  43,  41,  39,  37,  38,  38,  39,  40,  39,  39,  39,
        42,  42,  42,  42,  43,  41,  39,  37,  35,  36,  36,  36,  37,  37,  37,  37,
        41,  42,  43,  43,  44,  42,  40,  38,  36,  36,  36,  35,  35,  35,  35,  35,
        41,  42,  43,  44,  45,  43,  41,  38,  36,  36,  35,  35,  34,  34,  34,  33,
        41,  42,  44,  45,  46,  44,  41,  39,  36,  35,  35,  34,  33,  32,  32,  32,
        41,  42,  44,  46,  48,  45,  42,  40,  37,  35,  34,  33,  32,  31,  31,  30,
        40,  42,  44,  45,  47,  45,  42,  39,  37,  35,  34,  32,  31,  30,  30,  29,
        39,  41,  43,  45,  47,  44,  42,  39,  37,  35,  34,  32,  31,  30,  29,  28,
        38,  40,  42,  44,  46,  44,  42,  39,  37,  35,  33,  32,  30,  29,  28,  28,

        /*Size 64 x 64*/
        64,  66,  68,  70,  73,  75,  77,  79,  81,  76,  71,  66,  61,  56,  51,  46,
        66,  68,  69,  70,  72,  73,  75,  76,  78,  73,  69,  64,  60,  55,  51,  46,
        68,  69,  70,  71,  71,  72,  73,  74,  74,  70,  66,  62,  58,  54,  50,  46,
        70,  70,  71,  71,  71,  71,  71,  71,  71,  67,  64,  60,  56,  53,  49,  46,
        73,  72,  71,  71,  70,  69,  69,  68,  68,  64,  61,  58,  55,  52,  48,  45,
        75,  73,  72,  71,  69,  68,  67,  65,  64,  61,  59,  56,  53,  50,  48,  45,
        77,  75,  73,  71,  69,  67,  65,  63,  61,  58,  56,  54,  52,  49,  47,  45,
        79,  76,  74,  71,  68,  65,  63,  60,  57,  56,  54,  52,  50,  48,  46,  44,
        81,  78,  74,  71,  68,  64,  61,  57,  54,  53,  51,  50,  48,  47,  45,  44,
        76,  73,  70,  67,  64,  61,  58,  56,  53,  51,  50,  48,  47,  46,  44,  43,
        71,  69,  66,  64,  61,  59,  56,  54,  51,  50,  49,  47,  46,  45,  43,  42,
        66,  64,  62,  60,  58,  56,  54,  52,  50,  48,  47,  46,  45,  43,  42,  41,
        61,  60,  58,  56,  55,  53,  52,  50,  48,  47,  46,  45,  44,  42,  41,  40,
        56,  55,  54,  53,  52,  50,  49,  48,  47,  46,  45,  43,  42,  41,  40,  39,
        51,  51,  50,  49,  48,  48,  47,  46,  45,  44,  43,  42,  41,  40,  39,  38,
        46,  46,  46,  46,  45,  45,  45,  44,  44,  43,  42,  41,  40,  39,  38,  37,

        /*Size 128 x 128*/
        64,  65,  66,  67,  68,  69,  70,  71,  73,  74,  75,  76,  77,  78,  79,  80,
        65,  66,  67,  68,  69,  70,  70,  71,  72,  73,  74,  75,  76,  77,  78,  78,
        66,  67,  68,  68,  69,  70,  70,  71,  72,  73,  73,  74,  75,  75,  76,  77,
        67,  68,  68,  69,  69,  70,  70,  71,  72,  72,  73,  73,  74,  74,  75,  75,
        68,  69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  72,  73,  73,  74,  74,
        69,  70,  70,  70,  70,  70,  71,  71,  71,  71,  71,  72,  72,  72,  72,  72,
        70,  70,  70,  70,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,
        71,  71,  71,  71,  71,  71,  71,  70,  70,  70,  70,  70,  70,  70,  69,  69,
        73,  72,  72,  72,  71,  71,  71,  70,  70,  70,  69,  69,  69,  68,  68,  68,
        74,  73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  68,  67,  67,  66,
        75,  74,  73,  73,  72,  71,  71,  70,  69,  69,  68,  67,  67,  66,  65,  65,
        76,  75,  74,  73,  72,  72,  71,  70,  69,  68,  67,  67,  66,  65,  64,  63,
        77,  76,  75,  74,  73,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  62,
        78,  77,  75,  74,  73,  72,  71,  70,  68,  67,  66,  65,  64,  63,  61,  60,
        79,  78,  76,  75,  74,  72,  71,  69,  68,  67,  65,  64,  63,  61,  60,  59,
        80,  78,  77,  75,  74,  72,  71,  69,  68,  66,  65,  63,  62,  60,  59,  57

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        155,  97,  90,  69,  97,  80,  75,  64,  90,  75,  56,  48,  69,  64,  48,  39,

        /*Size 8 x 8*/
        142, 179,  94,  92,  86,  75,  66,  57, 179, 121,  96, 107, 104,  94,  82,  71,
        94,  96,  81,  84,  84,  80,  72,  64,  92, 107,  84,  73,  69,  66,  61,  56,
        86, 104,  84,  69,  61,  56,  52,  49,  75,  94,  80,  66,  56,  50,  46,  43,
        66,  82,  72,  61,  52,  46,  42,  39,  57,  71,  64,  56,  49,  43,  39,  36,

        /*Size 16 x 16*/
        142, 161, 179, 137,  94,  93,  92,  89,  86,  80,  75,  70,  66,  61,  57,  57,
        161, 155, 150, 123,  95,  97, 100,  97,  95,  90,  84,  79,  74,  69,  64,  64,
        179, 150, 121, 109,  96, 102, 107, 106, 104,  99,  94,  88,  82,  76,  71,  71,
        137, 123, 109,  99,  89,  92,  96,  95,  94,  90,  87,  82,  77,  72,  68,  68,
        94,  95,  96,  89,  81,  82,  84,  84,  84,  82,  80,  76,  72,  68,  64,  64,
        93,  97, 102,  92,  82,  80,  78,  78,  77,  75,  73,  70,  67,  64,  60,  60,
        92, 100, 107,  96,  84,  78,  73,  71,  69,  67,  66,  64,  61,  59,  56,  56,
        89,  97, 106,  95,  84,  78,  71,  68,  65,  63,  61,  59,  57,  55,  53,  53,
        86,  95, 104,  94,  84,  77,  69,  65,  61,  58,  56,  54,  52,  51,  49,  49,
        80,  90,  99,  90,  82,  75,  67,  63,  58,  56,  53,  51,  49,  48,  46,  46,
        75,  84,  94,  87,  80,  73,  66,  61,  56,  53,  50,  48,  46,  45,  43,  43,
        70,  79,  88,  82,  76,  70,  64,  59,  54,  51,  48,  46,  44,  42,  41,  41,
        66,  74,  82,  77,  72,  67,  61,  57,  52,  49,  46,  44,  42,  40,  39,  39,
        61,  69,  76,  72,  68,  64,  59,  55,  51,  48,  45,  42,  40,  39,  37,  37,
        57,  64,  71,  68,  64,  60,  56,  53,  49,  46,  43,  41,  39,  37,  36,  36,
        57,  64,  71,  68,  64,  60,  56,  53,  49,  46,  43,  41,  39,  37,  36,  36,

        /*Size 32 x 32*/
        142, 151, 161, 170, 179, 158, 137, 115,  94,  94,  93,  93,  92,  90,  89,  87,
        151, 155, 158, 161, 164, 147, 130, 112,  95,  95,  95,  96,  96,  94,  93,  92,
        161, 158, 155, 152, 150, 136, 123, 109,  95,  96,  97,  99, 100,  98,  97,  96,
        170, 161, 152, 144, 135, 125, 116, 106,  96,  98, 100, 102, 103, 102, 101, 100,
        179, 164, 150, 135, 121, 115, 109, 102,  96,  99, 102, 105, 107, 106, 106, 105,
        158, 147, 136, 125, 115, 109, 104,  98,  92,  95,  97,  99, 101, 101, 100, 100,
        137, 130, 123, 116, 109, 104,  99,  94,  89,  90,  92,  94,  96,  95,  95,  94,
        115, 112, 109, 106, 102,  98,  94,  89,  85,  86,  87,  88,  90,  90,  89,  89,
        94,  95,  95,  96,  96,  92,  89,  85,  81,  82,  82,  83,  84,  84,  84,  84,
        94,  95,  96,  98,  99,  95,  90,  86,  82,  81,  81,  81,  81,  81,  81,  81,
        93,  95,  97, 100, 102,  97,  92,  87,  82,  81,  80,  79,  78,  78,  78,  77,
        93,  96,  99, 102, 105,  99,  94,  88,  83,  81,  79,  78,  76,  75,  74,  74,
        92,  96, 100, 103, 107, 101,  96,  90,  84,  81,  78,  76,  73,  72,  71,  70,
        90,  94,  98, 102, 106, 101,  95,  90,  84,  81,  78,  75,  72,  71,  69,  68,
        89,  93,  97, 101, 106, 100,  95,  89,  84,  81,  78,  74,  71,  69,  68,  66,
        87,  92,  96, 100, 105, 100,  94,  89,  84,  81,  77,  74,  70,  68,  66,  65,

        /*Size 64 x 64*/
        142, 147, 151, 156, 161, 165, 170, 174, 179, 168, 158, 147, 137, 126, 115, 105,
        147, 150, 153, 156, 159, 162, 165, 168, 172, 162, 152, 143, 133, 123, 114, 104,
        151, 153, 155, 156, 158, 159, 161, 163, 164, 156, 147, 138, 130, 121, 112, 103,
        156, 156, 156, 156, 156, 157, 157, 157, 157, 149, 142, 134, 126, 118, 111, 103,
        161, 159, 158, 156, 155, 154, 152, 151, 150, 143, 136, 129, 123, 116, 109, 102,
        165, 162, 159, 157, 154, 151, 148, 145, 143, 137, 131, 125, 119, 113, 107, 101,
        170, 165, 161, 157, 152, 148, 144, 140, 135, 130, 125, 120, 116, 111, 106, 101,
        174, 168, 163, 157, 151, 145, 140, 134, 128, 124, 120, 116, 112, 108, 104, 100,
        179, 172, 164, 157, 150, 143, 135, 128, 121, 118, 115, 112, 109, 105, 102,  99,
        168, 162, 156, 149, 143, 137, 130, 124, 118, 115, 112, 109, 106, 103, 100,  97,
        158, 152, 147, 142, 136, 131, 125, 120, 115, 112, 109, 106, 104, 101,  98,  95,
        147, 143, 138, 134, 129, 125, 120, 116, 112, 109, 106, 104, 101,  98,  96,  93,
        137, 133, 130, 126, 123, 119, 116, 112, 109, 106, 104, 101,  99,  96,  94,  91,
        126, 123, 121, 118, 116, 113, 111, 108, 105, 103, 101,  98,  96,  94,  91,  89,
        115, 114, 112, 111, 109, 107, 106, 104, 102, 100,  98,  96,  94,  91,  89,  87,
        105, 104, 103, 103, 102, 101, 101, 100,  99,  97,  95,  93,  91,  89,  87,  85,

        /*Size 128 x 128*/
        142, 145, 147, 149, 151, 154, 156, 158, 161, 163, 165, 167, 170, 172, 174, 176,
        145, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 167, 169, 171, 173,
        147, 148, 150, 151, 153, 155, 156, 158, 159, 161, 162, 164, 165, 167, 168, 170,
        149, 150, 151, 153, 154, 155, 156, 157, 158, 160, 161, 162, 163, 164, 166, 167,
        151, 152, 153, 154, 155, 155, 156, 157, 158, 159, 159, 160, 161, 162, 163, 163,
        154, 154, 155, 155, 155, 156, 156, 157, 157, 158, 158, 158, 159, 159, 160, 160,
        156, 156, 156, 156, 156, 156, 156, 156, 156, 157, 157, 157, 157, 157, 157, 157,
        158, 158, 158, 157, 157, 157, 156, 156, 156, 155, 155, 155, 155, 154, 154, 154,
        161, 160, 159, 158, 158, 157, 156, 156, 155, 154, 154, 153, 152, 152, 151, 150,
        163, 162, 161, 160, 159, 158, 157, 155, 154, 153, 152, 151, 150, 149, 148, 147,
        165, 164, 162, 161, 159, 158, 157, 155, 154, 152, 151, 150, 148, 147, 145, 144,
        167, 166, 164, 162, 160, 158, 157, 155, 153, 151, 150, 148, 146, 144, 142, 141,
        170, 167, 165, 163, 161, 159, 157, 155, 152, 150, 148, 146, 144, 142, 140, 137,
        172, 169, 167, 164, 162, 159, 157, 154, 152, 149, 147, 144, 142, 139, 137, 134,
        174, 171, 168, 166, 163, 160, 157, 154, 151, 148, 145, 142, 140, 137, 134, 131,
        176, 173, 170, 167, 163, 160, 157, 154, 150, 147, 144, 141, 137, 134, 131, 128

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        70,  40,  36,  27,  40,  32,  30,  25,  36,  30,  22,  18,  27,  25,  18,  14,

        /*Size 8 x 8*/
        64,  81,  42,  37,  34,  30,  26,  22,  81,  54,  39,  44,  42,  38,  33,  28,
        42,  39,  32,  34,  34,  32,  29,  25,  37,  44,  34,  29,  27,  26,  24,  22,
        34,  42,  34,  27,  24,  22,  20,  19,  30,  38,  32,  26,  22,  19,  18,  16,
        26,  33,  29,  24,  20,  18,  16,  14,  22,  28,  25,  22,  19,  16,  14,  13,

        /*Size 16 x 16*/
        64,  73,  81,  61,  42,  39,  37,  36,  34,  32,  30,  28,  26,  24,  22,  22,
        73,  70,  68,  54,  40,  40,  40,  39,  38,  36,  34,  32,  29,  27,  25,  25,
        81,  68,  54,  46,  39,  41,  44,  43,  42,  40,  38,  35,  33,  30,  28,  28,
        61,  54,  46,  41,  36,  37,  39,  38,  38,  36,  35,  33,  31,  29,  27,  27,
        42,  40,  39,  36,  32,  33,  34,  34,  34,  33,  32,  30,  29,  27,  25,  25,
        39,  40,  41,  37,  33,  32,  31,  31,  31,  30,  29,  28,  26,  25,  24,  24,
        37,  40,  44,  39,  34,  31,  29,  28,  27,  27,  26,  25,  24,  23,  22,  22,
        36,  39,  43,  38,  34,  31,  28,  27,  26,  25,  24,  23,  22,  21,  20,  20,
        34,  38,  42,  38,  34,  31,  27,  26,  24,  23,  22,  21,  20,  19,  19,  19,
        32,  36,  40,  36,  33,  30,  27,  25,  23,  22,  21,  20,  19,  18,  17,  17,
        30,  34,  38,  35,  32,  29,  26,  24,  22,  21,  19,  18,  18,  17,  16,  16,
        28,  32,  35,  33,  30,  28,  25,  23,  21,  20,  18,  17,  17,  16,  15,  15,
        26,  29,  33,  31,  29,  26,  24,  22,  20,  19,  18,  17,  16,  15,  14,  14,
        24,  27,  30,  29,  27,  25,  23,  21,  19,  18,  17,  16,  15,  14,  14,  14,
        22,  25,  28,  27,  25,  24,  22,  20,  19,  17,  16,  15,  14,  14,  13,  13,
        22,  25,  28,  27,  25,  24,  22,  20,  19,  17,  16,  15,  14,  14,  13,  13,

        /*Size 32 x 32*/
        64,  68,  73,  77,  81,  71,  61,  51,  42,  40,  39,  38,  37,  36,  36,  35,
        68,  70,  71,  73,  74,  66,  58,  49,  41,  40,  40,  39,  39,  38,  37,  37,
        73,  71,  70,  69,  68,  61,  54,  47,  40,  40,  40,  40,  40,  40,  39,  39,
        77,  73,  69,  65,  61,  55,  50,  45,  39,  40,  41,  41,  42,  41,  41,  41,
        81,  74,  68,  61,  54,  50,  46,  43,  39,  40,  41,  42,  44,  43,  43,  42,
        71,  66,  61,  55,  50,  47,  44,  40,  37,  38,  39,  40,  41,  41,  40,  40,
        61,  58,  54,  50,  46,  44,  41,  38,  36,  36,  37,  38,  39,  38,  38,  38,
        51,  49,  47,  45,  43,  40,  38,  36,  34,  34,  35,  35,  36,  36,  36,  36,
        42,  41,  40,  39,  39,  37,  36,  34,  32,  33,  33,  33,  34,  34,  34,  34,
        40,  40,  40,  40,  40,  38,  36,  34,  33,  33,  32,  32,  32,  32,  32,  32,
        39,  40,  40,  41,  41,  39,  37,  35,  33,  32,  32,  32,  31,  31,  31,  31,
        38,  39,  40,  41,  42,  40,  38,  35,  33,  32,  32,  31,  30,  30,  30,  29,
        37,  39,  40,  42,  44,  41,  39,  36,  34,  32,  31,  30,  29,  29,  28,  28,
        36,  38,  40,  41,  43,  41,  38,  36,  34,  32,  31,  30,  29,  28,  27,  27,
        36,  37,  39,  41,  43,  40,  38,  36,  34,  32,  31,  30,  28,  27,  27,  26,
        35,  37,  39,  41,  42,  40,  38,  36,  34,  32,  31,  29,  28,  27,  26,  25,

        /*Size 64 x 64*/
        64,  66,  68,  70,  73,  75,  77,  79,  81,  76,  71,  66,  61,  56,  51,  46,
        66,  68,  69,  70,  72,  73,  75,  76,  78,  73,  69,  64,  59,  55,  50,  46,
        68,  69,  70,  71,  71,  72,  73,  74,  74,  70,  66,  62,  58,  53,  49,  45,
        70,  70,  71,  71,  71,  71,  71,  71,  71,  67,  63,  59,  56,  52,  48,  44,
        73,  72,  71,  71,  70,  69,  69,  68,  68,  64,  61,  57,  54,  50,  47,  44,
        75,  73,  72,  71,  69,  68,  67,  65,  64,  61,  58,  55,  52,  49,  46,  43,
        77,  75,  73,  71,  69,  67,  65,  63,  61,  58,  55,  53,  50,  47,  45,  42,
        79,  76,  74,  71,  68,  65,  63,  60,  57,  55,  53,  51,  48,  46,  44,  41,
        81,  78,  74,  71,  68,  64,  61,  57,  54,  52,  50,  48,  46,  44,  43,  41,
        76,  73,  70,  67,  64,  61,  58,  55,  52,  50,  49,  47,  45,  43,  41,  40,
        71,  69,  66,  63,  61,  58,  55,  53,  50,  49,  47,  45,  44,  42,  40,  39,
        66,  64,  62,  59,  57,  55,  53,  51,  48,  47,  45,  44,  42,  41,  39,  38,
        61,  59,  58,  56,  54,  52,  50,  48,  46,  45,  44,  42,  41,  40,  38,  37,
        56,  55,  53,  52,  50,  49,  47,  46,  44,  43,  42,  41,  40,  38,  37,  36,
        51,  50,  49,  48,  47,  46,  45,  44,  43,  41,  40,  39,  38,  37,  36,  35,
        46,  46,  45,  44,  44,  43,  42,  41,  41,  40,  39,  38,  37,  36,  35,  34,

        /*Size 128 x 128*/
        64,  65,  66,  67,  68,  69,  70,  71,  73,  74,  75,  76,  77,  78,  79,  80,
        65,  66,  67,  68,  69,  70,  70,  71,  72,  73,  74,  75,  76,  77,  78,  78,
        66,  67,  68,  68,  69,  70,  70,  71,  72,  73,  73,  74,  75,  75,  76,  77,
        67,  68,  68,  69,  69,  70,  70,  71,  72,  72,  73,  73,  74,  74,  75,  75,
        68,  69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  72,  73,  73,  74,  74,
        69,  70,  70,  70,  70,  70,  71,  71,  71,  71,  71,  72,  72,  72,  72,  72,
        70,  70,  70,  70,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,
        71,  71,  71,  71,  71,  71,  71,  70,  70,  70,  70,  70,  70,  70,  69,  69,
        73,  72,  72,  72,  71,  71,  71,  70,  70,  70,  69,  69,  69,  68,  68,  68,
        74,  73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  68,  67,  67,  66,
        75,  74,  73,  73,  72,  71,  71,  70,  69,  69,  68,  67,  67,  66,  65,  65,
        76,  75,  74,  73,  72,  72,  71,  70,  69,  68,  67,  67,  66,  65,  64,  63,
        77,  76,  75,  74,  73,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  62,
        78,  77,  75,  74,  73,  72,  71,  70,  68,  67,  66,  65,  64,  63,  61,  60,
        79,  78,  76,  75,  74,  72,  71,  69,  68,  67,  65,  64,  63,  61,  60,  59,
        80,  78,  77,  75,  74,  72,  71,  69,  68,  66,  65,  63,  62,  60,  59,  57

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        168,  99,  89,  68,  99,  80,  74,  63,  89,  74,  56,  48,  68,  63,  48,  39,

        /*Size 8 x 8*/
        154, 194, 102,  92,  85,  75,  65,  57, 194, 131,  96, 107, 103,  93,  82,  71,
        102,  96,  80,  83,  84,  79,  72,  64,  92, 107,  83,  73,  69,  66,  61,  56,
        85, 103,  84,  69,  61,  56,  52,  49,  75,  93,  79,  66,  56,  50,  46,  43,
        65,  82,  72,  61,  52,  46,  42,  39,  57,  71,  64,  56,  49,  43,  39,  36,

        /*Size 16 x 16*/
        154, 174, 194, 148, 102,  97,  92,  88,  85,  80,  75,  70,  65,  61,  57,  57,
        174, 168, 162, 131,  99,  99,  99,  97,  94,  89,  84,  79,  73,  68,  64,  64,
        194, 162, 131, 113,  96, 101, 107, 105, 103,  98,  93,  87,  82,  76,  71,  71,
        148, 131, 113, 101,  88,  91,  95,  94,  94,  90,  86,  81,  77,  72,  67,  67,
        102,  99,  96,  88,  80,  82,  83,  84,  84,  81,  79,  75,  72,  68,  64,  64,
        97,  99, 101,  91,  82,  80,  78,  77,  76,  74,  72,  69,  66,  63,  60,  60,
        92,  99, 107,  95,  83,  78,  73,  71,  69,  67,  66,  63,  61,  59,  56,  56,
        88,  97, 105,  94,  84,  77,  71,  68,  65,  63,  61,  59,  57,  55,  52,  52,
        85,  94, 103,  94,  84,  76,  69,  65,  61,  58,  56,  54,  52,  51,  49,  49,
        80,  89,  98,  90,  81,  74,  67,  63,  58,  56,  53,  51,  49,  48,  46,  46,
        75,  84,  93,  86,  79,  72,  66,  61,  56,  53,  50,  48,  46,  45,  43,  43,
        70,  79,  87,  81,  75,  69,  63,  59,  54,  51,  48,  46,  44,  42,  41,  41,
        65,  73,  82,  77,  72,  66,  61,  57,  52,  49,  46,  44,  42,  40,  39,  39,
        61,  68,  76,  72,  68,  63,  59,  55,  51,  48,  45,  42,  40,  39,  37,  37,
        57,  64,  71,  67,  64,  60,  56,  52,  49,  46,  43,  41,  39,  37,  36,  36,
        57,  64,  71,  67,  64,  60,  56,  52,  49,  46,  43,  41,  39,  37,  36,  36,

        /*Size 32 x 32*/
        154, 164, 174, 184, 194, 171, 148, 125, 102,  99,  97,  94,  92,  90,  88,  87,
        164, 168, 171, 175, 178, 159, 139, 120, 100,  99,  98,  96,  95,  94,  92,  91,
        174, 171, 168, 165, 162, 146, 131, 115,  99,  99,  99,  99,  99,  98,  97,  95,
        184, 175, 165, 156, 147, 134, 122, 109,  97,  98, 100, 101, 103, 102, 101, 100,
        194, 178, 162, 147, 131, 122, 113, 104,  96,  98, 101, 104, 107, 106, 105, 104,
        171, 159, 146, 134, 122, 114, 107,  99,  92,  94,  96,  98, 101, 100, 100,  99,
        148, 139, 131, 122, 113, 107, 101,  94,  88,  90,  91,  93,  95,  95,  94,  94,
        125, 120, 115, 109, 104,  99,  94,  89,  84,  85,  87,  88,  89,  89,  89,  89,
        102, 100,  99,  97,  96,  92,  88,  84,  80,  81,  82,  83,  83,  83,  84,  84,
        99,  99,  99,  98,  98,  94,  90,  85,  81,  81,  81,  81,  81,  80,  80,  80,
        97,  98,  99, 100, 101,  96,  91,  87,  82,  81,  80,  79,  78,  77,  77,  77,
        94,  96,  99, 101, 104,  98,  93,  88,  83,  81,  79,  77,  75,  75,  74,  73,
        92,  95,  99, 103, 107, 101,  95,  89,  83,  81,  78,  75,  73,  72,  71,  70,
        90,  94,  98, 102, 106, 100,  95,  89,  83,  80,  77,  75,  72,  70,  69,  68,
        88,  92,  97, 101, 105, 100,  94,  89,  84,  80,  77,  74,  71,  69,  68,  66,
        87,  91,  95, 100, 104,  99,  94,  89,  84,  80,  77,  73,  70,  68,  66,  64,

        /*Size 64 x 64*/
        154, 159, 164, 169, 174, 179, 184, 189, 194, 182, 171, 159, 148, 136, 125, 113,
        159, 163, 166, 169, 173, 176, 179, 183, 186, 175, 165, 154, 144, 133, 122, 112,
        164, 166, 168, 169, 171, 173, 175, 176, 178, 168, 159, 149, 139, 129, 120, 110,
        169, 169, 169, 170, 170, 170, 170, 170, 170, 161, 153, 144, 135, 126, 117, 108,
        174, 173, 171, 170, 168, 167, 165, 164, 162, 154, 146, 138, 131, 123, 115, 107,
        179, 176, 173, 170, 167, 164, 161, 158, 154, 147, 140, 133, 126, 119, 112, 105,
        184, 179, 175, 170, 165, 161, 156, 151, 147, 140, 134, 128, 122, 116, 109, 103,
        189, 183, 176, 170, 164, 158, 151, 145, 139, 133, 128, 123, 117, 112, 107, 102,
        194, 186, 178, 170, 162, 154, 147, 139, 131, 126, 122, 118, 113, 109, 104, 100,
        182, 175, 168, 161, 154, 147, 140, 133, 126, 122, 118, 114, 110, 106, 102,  98,
        171, 165, 159, 153, 146, 140, 134, 128, 122, 118, 114, 111, 107, 103,  99,  95,
        159, 154, 149, 144, 138, 133, 128, 123, 118, 114, 111, 107, 104, 100,  97,  93,
        148, 144, 139, 135, 131, 126, 122, 117, 113, 110, 107, 104, 101,  97,  94,  91,
        136, 133, 129, 126, 123, 119, 116, 112, 109, 106, 103, 100,  97,  95,  92,  89,
        125, 122, 120, 117, 115, 112, 109, 107, 104, 102,  99,  97,  94,  92,  89,  87,
        113, 112, 110, 108, 107, 105, 103, 102, 100,  98,  95,  93,  91,  89,  87,  84,

        /*Size 128 x 128*/
        154, 157, 159, 162, 164, 167, 169, 172, 174, 177, 179, 182, 184, 187, 189, 192,
        157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 178, 180, 182, 184, 186, 188,
        159, 161, 163, 164, 166, 168, 169, 171, 173, 174, 176, 178, 179, 181, 183, 184,
        162, 163, 164, 166, 167, 168, 169, 171, 172, 173, 174, 176, 177, 178, 180, 181,
        164, 165, 166, 167, 168, 169, 169, 170, 171, 172, 173, 174, 175, 176, 176, 177,
        167, 167, 168, 168, 169, 169, 170, 170, 170, 171, 171, 172, 172, 173, 173, 174,
        169, 169, 169, 169, 169, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
        172, 171, 171, 171, 170, 170, 170, 169, 169, 169, 168, 168, 168, 167, 167, 167,
        174, 173, 173, 172, 171, 170, 170, 169, 168, 168, 167, 166, 165, 165, 164, 163,
        177, 175, 174, 173, 172, 171, 170, 169, 168, 166, 165, 164, 163, 162, 161, 160,
        179, 178, 176, 174, 173, 171, 170, 168, 167, 165, 164, 162, 161, 159, 158, 156,
        182, 180, 178, 176, 174, 172, 170, 168, 166, 164, 162, 160, 158, 156, 154, 152,
        184, 182, 179, 177, 175, 172, 170, 168, 165, 163, 161, 158, 156, 154, 151, 149,
        187, 184, 181, 178, 176, 173, 170, 167, 165, 162, 159, 156, 154, 151, 148, 145,
        189, 186, 183, 180, 176, 173, 170, 167, 164, 161, 158, 154, 151, 148, 145, 142,
        192, 188, 184, 181, 177, 174, 170, 167, 163, 160, 156, 152, 149, 145, 142, 138

      }
    }
  },
  {
    /* QM level 3*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        77,  70,  43,  28,  70,  47,  34,  26,  43,  34,  25,  21,  28,  26,  21,  18,

        /*Size 8 x 8*/
        64,  85,  79,  60,  45,  35,  28,  24,  85,  74,  77,  66,  52,  41,  33,  27,
        79,  77,  56,  48,  41,  35,  29,  25,  60,  66,  48,  38,  33,  29,  26,  23,
        45,  52,  41,  33,  28,  25,  23,  21,  35,  41,  35,  29,  25,  22,  20,  19,
        28,  33,  29,  26,  23,  20,  19,  18,  24,  27,  25,  23,  21,  19,  18,  17,

        /*Size 16 x 16*/
        64,  74,  85,  82,  79,  69,  60,  52,  45,  40,  35,  32,  28,  26,  24,  24,
        74,  77,  79,  79,  78,  70,  63,  56,  48,  43,  38,  34,  31,  28,  26,  26,
        85,  79,  74,  76,  77,  72,  66,  59,  52,  46,  41,  37,  33,  30,  27,  27,
        82,  79,  76,  71,  66,  62,  57,  52,  47,  42,  38,  34,  31,  29,  26,  26,
        79,  78,  77,  66,  56,  52,  48,  44,  41,  38,  35,  32,  29,  27,  25,  25,
        69,  70,  72,  62,  52,  47,  43,  40,  37,  34,  32,  30,  27,  26,  24,  24,
        60,  63,  66,  57,  48,  43,  38,  35,  33,  31,  29,  27,  26,  24,  23,  23,
        52,  56,  59,  52,  44,  40,  35,  33,  30,  28,  27,  25,  24,  23,  22,  22,
        45,  48,  52,  47,  41,  37,  33,  30,  28,  26,  25,  24,  23,  22,  21,  21,
        40,  43,  46,  42,  38,  34,  31,  28,  26,  25,  23,  22,  21,  21,  20,  20,
        35,  38,  41,  38,  35,  32,  29,  27,  25,  23,  22,  21,  20,  20,  19,  19,
        32,  34,  37,  34,  32,  30,  27,  25,  24,  22,  21,  20,  20,  19,  19,  19,
        28,  31,  33,  31,  29,  27,  26,  24,  23,  21,  20,  20,  19,  19,  18,  18,
        26,  28,  30,  29,  27,  26,  24,  23,  22,  21,  20,  19,  19,  18,  18,  18,
        24,  26,  27,  26,  25,  24,  23,  22,  21,  20,  19,  19,  18,  18,  17,  17,
        24,  26,  27,  26,  25,  24,  23,  22,  21,  20,  19,  19,  18,  18,  17,  17,

        /*Size 32 x 32*/
        64,  69,  74,  80,  85,  83,  82,  80,  79,  74,  69,  64,  60,  56,  52,  49,
        69,  72,  76,  79,  82,  81,  80,  79,  78,  74,  70,  66,  61,  58,  54,  50,
        74,  76,  77,  78,  79,  79,  79,  78,  78,  74,  70,  67,  63,  59,  56,  52,
        80,  79,  78,  77,  77,  77,  77,  77,  78,  74,  71,  68,  64,  61,  57,  54,
        85,  82,  79,  77,  74,  75,  76,  76,  77,  74,  72,  69,  66,  63,  59,  56,
        83,  81,  79,  77,  75,  74,  73,  73,  72,  69,  67,  64,  61,  58,  55,  52,
        82,  80,  79,  77,  76,  73,  71,  69,  66,  64,  62,  59,  57,  54,  52,  49,
        80,  79,  78,  77,  76,  73,  69,  65,  61,  59,  57,  54,  52,  50,  48,  46,
        79,  78,  78,  78,  77,  72,  66,  61,  56,  54,  52,  50,  48,  46,  44,  43,
        74,  74,  74,  74,  74,  69,  64,  59,  54,  51,  49,  47,  45,  44,  42,  40,
        69,  70,  70,  71,  72,  67,  62,  57,  52,  49,  47,  45,  43,  41,  40,  38,
        64,  66,  67,  68,  69,  64,  59,  54,  50,  47,  45,  43,  40,  39,  37,  36,
        60,  61,  63,  64,  66,  61,  57,  52,  48,  45,  43,  40,  38,  36,  35,  34,
        56,  58,  59,  61,  63,  58,  54,  50,  46,  44,  41,  39,  36,  35,  34,  33,
        52,  54,  56,  57,  59,  55,  52,  48,  44,  42,  40,  37,  35,  34,  33,  31,
        49,  50,  52,  54,  56,  52,  49,  46,  43,  40,  38,  36,  34,  33,  31,  30,

        /*Size 64 x 64*/
        64,  67,  69,  72,  74,  77,  80,  82,  85,  84,  83,  82,  82,  81,  80,  79,
        67,  69,  71,  73,  75,  77,  79,  81,  83,  83,  82,  82,  81,  80,  80,  79,
        69,  71,  72,  74,  76,  77,  79,  80,  82,  82,  81,  81,  80,  80,  79,  79,
        72,  73,  74,  75,  76,  77,  78,  80,  81,  80,  80,  80,  79,  79,  79,  78,
        74,  75,  76,  76,  77,  78,  78,  79,  79,  79,  79,  79,  79,  78,  78,  78,
        77,  77,  77,  77,  78,  78,  78,  78,  78,  78,  78,  78,  78,  78,  78,  78,
        80,  79,  79,  78,  78,  78,  77,  77,  77,  77,  77,  77,  77,  77,  77,  77,
        82,  81,  80,  80,  79,  78,  77,  76,  75,  76,  76,  76,  76,  77,  77,  77,
        85,  83,  82,  81,  79,  78,  77,  75,  74,  74,  75,  75,  76,  76,  76,  77,
        84,  83,  82,  80,  79,  78,  77,  76,  74,  74,  74,  74,  74,  74,  75,  75,
        83,  82,  81,  80,  79,  78,  77,  76,  75,  74,  74,  74,  73,  73,  73,  72,
        82,  82,  81,  80,  79,  78,  77,  76,  75,  74,  74,  73,  72,  71,  71,  70,
        82,  81,  80,  79,  79,  78,  77,  76,  76,  74,  73,  72,  71,  70,  69,  68,
        81,  80,  80,  79,  78,  78,  77,  77,  76,  74,  73,  71,  70,  68,  67,  65,
        80,  80,  79,  79,  78,  78,  77,  77,  76,  75,  73,  71,  69,  67,  65,  63,
        79,  79,  79,  78,  78,  78,  77,  77,  77,  75,  72,  70,  68,  65,  63,  61,

        /*Size 128 x 128*/
        64,  65,  67,  68,  69,  70,  72,  73,  74,  76,  77,  78,  80,  81,  82,  83,
        65,  66,  68,  69,  70,  71,  72,  74,  75,  76,  77,  78,  79,  81,  82,  83,
        67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  80,  81,  82,
        68,  69,  70,  71,  72,  73,  73,  74,  75,  76,  77,  78,  79,  80,  81,  82,
        69,  70,  71,  72,  72,  73,  74,  75,  76,  76,  77,  78,  79,  80,  80,  81,
        70,  71,  72,  73,  73,  74,  75,  75,  76,  77,  77,  78,  79,  79,  80,  81,
        72,  72,  73,  73,  74,  75,  75,  76,  76,  77,  77,  78,  78,  79,  80,  80,
        73,  74,  74,  74,  75,  75,  76,  76,  77,  77,  77,  78,  78,  79,  79,  80,
        74,  75,  75,  75,  76,  76,  76,  77,  77,  77,  78,  78,  78,  78,  79,  79,
        76,  76,  76,  76,  76,  77,  77,  77,  77,  77,  78,  78,  78,  78,  78,  79,
        77,  77,  77,  77,  77,  77,  77,  77,  78,  78,  78,  78,  78,  78,  78,  78,
        78,  78,  78,  78,  78,  78,  78,  78,  78,  78,  78,  78,  78,  78,  77,  77,
        80,  79,  79,  79,  79,  79,  78,  78,  78,  78,  78,  78,  77,  77,  77,  77,
        81,  81,  80,  80,  80,  79,  79,  79,  78,  78,  78,  78,  77,  77,  77,  76,
        82,  82,  81,  81,  80,  80,  80,  79,  79,  78,  78,  77,  77,  77,  76,  76,
        83,  83,  82,  82,  81,  81,  80,  80,  79,  79,  78,  77,  77,  76,  76,  75

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        228, 206, 117,  67, 206, 130,  88,  60, 117,  88,  57,  43,  67,  60,  43,  34,

        /*Size 8 x 8*/
        186, 254, 233, 172, 123,  90,  68,  54, 254, 219, 229, 192, 146, 109,  83,  65,
        233, 229, 157, 132, 110,  89,  72,  58, 172, 192, 132,  99,  82,  70,  59,  51,
        123, 146, 110,  82,  66,  56,  49,  44,  90, 109,  89,  70,  56,  48,  42,  38,
        68,  83,  72,  59,  49,  42,  38,  34,  54,  65,  58,  51,  44,  38,  34,  32,

        /*Size 16 x 16*/
        186, 220, 254, 243, 233, 202, 172, 147, 123, 106,  90,  79,  68,  61,  54,  54,
        220, 228, 236, 234, 231, 206, 182, 158, 134, 117,  99,  87,  75,  67,  59,  59,
        254, 236, 219, 224, 229, 211, 192, 169, 146, 127, 109,  96,  83,  74,  65,  65,
        243, 234, 224, 208, 193, 178, 162, 145, 128, 113,  99,  88,  77,  69,  62,  62,
        233, 231, 229, 193, 157, 145, 132, 121, 110,  99,  89,  80,  72,  65,  58,  58,
        202, 206, 211, 178, 145, 130, 116, 106,  96,  88,  79,  72,  65,  60,  54,  54,
        172, 182, 192, 162, 132, 116,  99,  91,  82,  76,  70,  64,  59,  55,  51,  51,
        147, 158, 169, 145, 121, 106,  91,  82,  74,  69,  63,  59,  54,  51,  47,  47,
        123, 134, 146, 128, 110,  96,  82,  74,  66,  61,  56,  53,  49,  46,  44,  44,
        106, 117, 127, 113,  99,  88,  76,  69,  61,  57,  52,  49,  46,  43,  41,  41,
        90,  99, 109,  99,  89,  79,  70,  63,  56,  52,  48,  45,  42,  40,  38,  38,
        79,  87,  96,  88,  80,  72,  64,  59,  53,  49,  45,  43,  40,  38,  36,  36,
        68,  75,  83,  77,  72,  65,  59,  54,  49,  46,  42,  40,  38,  36,  34,  34,
        61,  67,  74,  69,  65,  60,  55,  51,  46,  43,  40,  38,  36,  34,  33,  33,
        54,  59,  65,  62,  58,  54,  51,  47,  44,  41,  38,  36,  34,  33,  32,  32,
        54,  59,  65,  62,  58,  54,  51,  47,  44,  41,  38,  36,  34,  33,  32,  32,

        /*Size 32 x 32*/
        186, 203, 220, 237, 254, 249, 243, 238, 233, 218, 202, 187, 172, 159, 147, 135,
        203, 213, 224, 234, 245, 242, 238, 235, 232, 218, 204, 191, 177, 165, 153, 140,
        220, 224, 228, 232, 236, 235, 234, 232, 231, 219, 206, 194, 182, 170, 158, 146,
        237, 234, 232, 230, 227, 228, 229, 229, 230, 219, 209, 198, 187, 175, 164, 152,
        254, 245, 236, 227, 219, 221, 224, 226, 229, 220, 211, 201, 192, 181, 169, 157,
        249, 242, 235, 228, 221, 219, 216, 214, 211, 203, 194, 186, 177, 167, 157, 147,
        243, 238, 234, 229, 224, 216, 208, 201, 193, 185, 178, 170, 162, 153, 145, 136,
        238, 235, 232, 229, 226, 214, 201, 188, 175, 168, 161, 154, 147, 140, 133, 126,
        233, 232, 231, 230, 229, 211, 193, 175, 157, 151, 145, 138, 132, 126, 121, 115,
        218, 218, 219, 219, 220, 203, 185, 168, 151, 144, 137, 130, 124, 118, 113, 108,
        202, 204, 206, 209, 211, 194, 178, 161, 145, 137, 130, 123, 116, 111, 106, 101,
        187, 191, 194, 198, 201, 186, 170, 154, 138, 130, 123, 115, 107, 103,  98,  94,
        172, 177, 182, 187, 192, 177, 162, 147, 132, 124, 116, 107,  99,  95,  91,  86,
        159, 165, 170, 175, 181, 167, 153, 140, 126, 118, 111, 103,  95,  91,  87,  82,
        147, 153, 158, 164, 169, 157, 145, 133, 121, 113, 106,  98,  91,  87,  82,  78,
        135, 140, 146, 152, 157, 147, 136, 126, 115, 108, 101,  94,  86,  82,  78,  74,

        /*Size 64 x 64*/
        186, 194, 203, 211, 220, 228, 237, 245, 254, 251, 249, 246, 243, 241, 238, 236,
        194, 201, 208, 215, 222, 229, 236, 242, 249, 247, 245, 243, 241, 239, 237, 235,
        203, 208, 213, 218, 224, 229, 234, 240, 245, 243, 242, 240, 238, 237, 235, 234,
        211, 215, 218, 222, 226, 229, 233, 237, 241, 239, 238, 237, 236, 235, 234, 233,
        220, 222, 224, 226, 228, 230, 232, 234, 236, 235, 235, 234, 234, 233, 232, 232,
        228, 229, 229, 229, 230, 230, 231, 231, 232, 232, 231, 231, 231, 231, 231, 231,
        237, 236, 234, 233, 232, 231, 230, 228, 227, 228, 228, 228, 229, 229, 229, 230,
        245, 242, 240, 237, 234, 231, 228, 226, 223, 224, 225, 225, 226, 227, 228, 229,
        254, 249, 245, 241, 236, 232, 227, 223, 219, 220, 221, 222, 224, 225, 226, 228,
        251, 247, 243, 239, 235, 232, 228, 224, 220, 220, 220, 220, 220, 220, 220, 220,
        249, 245, 242, 238, 235, 231, 228, 225, 221, 220, 219, 217, 216, 215, 214, 212,
        246, 243, 240, 237, 234, 231, 228, 225, 222, 220, 217, 215, 212, 210, 207, 205,
        243, 241, 238, 236, 234, 231, 229, 226, 224, 220, 216, 212, 208, 205, 201, 197,
        241, 239, 237, 235, 233, 231, 229, 227, 225, 220, 215, 210, 205, 199, 194, 189,
        238, 237, 235, 234, 232, 231, 229, 228, 226, 220, 214, 207, 201, 194, 188, 182,
        236, 235, 234, 233, 232, 231, 230, 229, 228, 220, 212, 205, 197, 189, 182, 174,

        /*Size 128 x 128*/
        186, 190, 194, 198, 203, 207, 211, 215, 220, 224, 228, 232, 237, 241, 245, 249,
        190, 194, 197, 201, 205, 209, 213, 217, 221, 225, 228, 232, 236, 240, 244, 248,
        194, 197, 201, 204, 208, 211, 215, 218, 222, 225, 229, 232, 236, 239, 242, 246,
        198, 201, 204, 207, 211, 214, 217, 220, 223, 226, 229, 232, 235, 238, 241, 244,
        203, 205, 208, 211, 213, 216, 218, 221, 224, 226, 229, 232, 234, 237, 240, 242,
        207, 209, 211, 214, 216, 218, 220, 223, 225, 227, 229, 232, 234, 236, 238, 240,
        211, 213, 215, 217, 218, 220, 222, 224, 226, 228, 229, 231, 233, 235, 237, 239,
        215, 217, 218, 220, 221, 223, 224, 225, 227, 228, 230, 231, 233, 234, 235, 237,
        220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235,
        224, 225, 225, 226, 226, 227, 228, 228, 229, 230, 230, 231, 231, 232, 233, 233,
        228, 228, 229, 229, 229, 229, 229, 230, 230, 230, 230, 231, 231, 231, 231, 231,
        232, 232, 232, 232, 232, 232, 231, 231, 231, 231, 231, 230, 230, 230, 230, 230,
        237, 236, 236, 235, 234, 234, 233, 233, 232, 231, 231, 230, 230, 229, 228, 228,
        241, 240, 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, 229, 228, 227, 226,
        245, 244, 242, 241, 240, 238, 237, 235, 234, 233, 231, 230, 228, 227, 226, 224,
        249, 248, 246, 244, 242, 240, 239, 237, 235, 233, 231, 230, 228, 226, 224, 223

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        70,  44,  41,  32,  44,  37,  34,  29,  41,  34,  26,  22,  32,  29,  22,  18,

        /*Size 8 x 8*/
        64,  80,  43,  42,  39,  35,  30,  26,  80,  55,  44,  49,  47,  43,  37,  33,
        43,  44,  37,  38,  38,  36,  33,  30,  42,  49,  38,  34,  32,  30,  28,  26,
        39,  47,  38,  32,  28,  26,  24,  23,  35,  43,  36,  30,  26,  23,  22,  20,
        30,  37,  33,  28,  24,  22,  20,  18,  26,  33,  30,  26,  23,  20,  18,  17,

        /*Size 16 x 16*/
        64,  72,  80,  61,  43,  42,  42,  40,  39,  37,  35,  32,  30,  28,  26,  26,
        72,  70,  67,  55,  43,  44,  45,  44,  43,  41,  39,  36,  34,  32,  29,  29,
        80,  67,  55,  49,  44,  46,  49,  48,  47,  45,  43,  40,  37,  35,  33,  33,
        61,  55,  49,  45,  40,  42,  43,  43,  43,  41,  39,  37,  35,  33,  31,  31,
        43,  43,  44,  40,  37,  38,  38,  38,  38,  37,  36,  35,  33,  31,  30,  30,
        42,  44,  46,  42,  38,  37,  36,  35,  35,  34,  33,  32,  31,  29,  28,  28,
        42,  45,  49,  43,  38,  36,  34,  33,  32,  31,  30,  29,  28,  27,  26,  26,
        40,  44,  48,  43,  38,  35,  33,  31,  30,  29,  28,  27,  26,  25,  24,  24,
        39,  43,  47,  43,  38,  35,  32,  30,  28,  27,  26,  25,  24,  24,  23,  23,
        37,  41,  45,  41,  37,  34,  31,  29,  27,  26,  25,  24,  23,  22,  22,  22,
        35,  39,  43,  39,  36,  33,  30,  28,  26,  25,  23,  22,  22,  21,  20,  20,
        32,  36,  40,  37,  35,  32,  29,  27,  25,  24,  22,  22,  21,  20,  19,  19,
        30,  34,  37,  35,  33,  31,  28,  26,  24,  23,  22,  21,  20,  19,  18,  18,
        28,  32,  35,  33,  31,  29,  27,  25,  24,  22,  21,  20,  19,  18,  18,  18,
        26,  29,  33,  31,  30,  28,  26,  24,  23,  22,  20,  19,  18,  18,  17,  17,
        26,  29,  33,  31,  30,  28,  26,  24,  23,  22,  20,  19,  18,  18,  17,  17,

        /*Size 32 x 32*/
        64,  68,  72,  76,  80,  71,  61,  52,  43,  43,  42,  42,  42,  41,  40,  40,
        68,  69,  71,  72,  74,  66,  58,  51,  43,  43,  43,  43,  43,  43,  42,  42,
        72,  71,  70,  68,  67,  61,  55,  49,  43,  44,  44,  45,  45,  45,  44,  44,
        76,  72,  68,  65,  61,  57,  52,  48,  44,  44,  45,  46,  47,  46,  46,  45,
        80,  74,  67,  61,  55,  52,  49,  46,  44,  45,  46,  47,  49,  48,  48,  47,
        71,  66,  61,  57,  52,  49,  47,  44,  42,  43,  44,  45,  46,  46,  45,  45,
        61,  58,  55,  52,  49,  47,  45,  42,  40,  41,  42,  43,  43,  43,  43,  43,
        52,  51,  49,  48,  46,  44,  42,  40,  39,  39,  40,  40,  41,  41,  41,  41,
        43,  43,  43,  44,  44,  42,  40,  39,  37,  37,  38,  38,  38,  38,  38,  38,
        43,  43,  44,  44,  45,  43,  41,  39,  37,  37,  37,  37,  37,  37,  37,  37,
        42,  43,  44,  45,  46,  44,  42,  40,  38,  37,  37,  36,  36,  36,  35,  35,
        42,  43,  45,  46,  47,  45,  43,  40,  38,  37,  36,  35,  35,  34,  34,  34,
        42,  43,  45,  47,  49,  46,  43,  41,  38,  37,  36,  35,  34,  33,  33,  32,
        41,  43,  45,  46,  48,  46,  43,  41,  38,  37,  36,  34,  33,  33,  32,  31,
        40,  42,  44,  46,  48,  45,  43,  41,  38,  37,  35,  34,  33,  32,  31,  31,
        40,  42,  44,  45,  47,  45,  43,  41,  38,  37,  35,  34,  32,  31,  31,  30,

        /*Size 64 x 64*/
        64,  66,  68,  70,  72,  74,  76,  78,  80,  75,  71,  66,  61,  57,  52,  47,
        66,  67,  69,  70,  71,  73,  74,  75,  77,  73,  68,  64,  60,  56,  51,  47,
        68,  69,  69,  70,  71,  72,  72,  73,  74,  70,  66,  62,  58,  54,  51,  47,
        70,  70,  70,  70,  70,  70,  70,  70,  70,  67,  64,  60,  57,  53,  50,  47,
        72,  71,  71,  70,  70,  69,  68,  68,  67,  64,  61,  58,  55,  52,  49,  46,
        74,  73,  72,  70,  69,  68,  67,  65,  64,  61,  59,  56,  54,  51,  49,  46,
        76,  74,  72,  70,  68,  67,  65,  63,  61,  59,  57,  54,  52,  50,  48,  46,
        78,  75,  73,  70,  68,  65,  63,  60,  58,  56,  54,  52,  51,  49,  47,  45,
        80,  77,  74,  70,  67,  64,  61,  58,  55,  53,  52,  50,  49,  48,  46,  45,
        75,  73,  70,  67,  64,  61,  59,  56,  53,  52,  51,  49,  48,  47,  45,  44,
        71,  68,  66,  64,  61,  59,  57,  54,  52,  51,  49,  48,  47,  46,  44,  43,
        66,  64,  62,  60,  58,  56,  54,  52,  50,  49,  48,  47,  46,  45,  43,  42,
        61,  60,  58,  57,  55,  54,  52,  51,  49,  48,  47,  46,  45,  44,  42,  41,
        57,  56,  54,  53,  52,  51,  50,  49,  48,  47,  46,  45,  44,  43,  41,  40,
        52,  51,  51,  50,  49,  49,  48,  47,  46,  45,  44,  43,  42,  41,  40,  39,
        47,  47,  47,  47,  46,  46,  46,  45,  45,  44,  43,  42,  41,  40,  39,  39,

        /*Size 128 x 128*/
        64,  65,  66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,
        65,  66,  67,  68,  68,  69,  70,  71,  72,  73,  73,  74,  75,  76,  77,  78,
        66,  67,  67,  68,  69,  69,  70,  71,  71,  72,  73,  73,  74,  75,  75,  76,
        67,  68,  68,  69,  69,  70,  70,  71,  71,  72,  72,  73,  73,  74,  74,  75,
        68,  68,  69,  69,  69,  70,  70,  70,  71,  71,  72,  72,  72,  73,  73,  73,
        69,  69,  69,  70,  70,  70,  70,  70,  71,  71,  71,  71,  71,  71,  72,  72,
        70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,
        71,  71,  71,  71,  70,  70,  70,  70,  70,  70,  70,  70,  69,  69,  69,  69,
        72,  72,  71,  71,  71,  71,  70,  70,  70,  69,  69,  69,  68,  68,  68,  68,
        73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  68,  67,  67,  67,  66,
        74,  73,  73,  72,  72,  71,  70,  70,  69,  68,  68,  67,  67,  66,  65,  65,
        75,  74,  73,  73,  72,  71,  70,  70,  69,  68,  67,  66,  66,  65,  64,  63,
        76,  75,  74,  73,  72,  71,  70,  69,  68,  67,  67,  66,  65,  64,  63,  62,
        77,  76,  75,  74,  73,  71,  70,  69,  68,  67,  66,  65,  64,  63,  61,  60,
        78,  77,  75,  74,  73,  72,  70,  69,  68,  67,  65,  64,  63,  61,  60,  59,
        79,  78,  76,  75,  73,  72,  70,  69,  68,  66,  65,  63,  62,  60,  59,  58

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        141,  92,  85,  67,  92,  77,  72,  63,  85,  72,  56,  49,  67,  63,  49,  41,

        /*Size 8 x 8*/
        130, 161,  89,  87,  81,  73,  64,  57, 161, 112,  91, 100,  97,  88,  78,  69,
        89,  91,  77,  80,  80,  76,  70,  63,  87, 100,  80,  71,  67,  64,  61,  56,
        81,  97,  80,  67,  60,  56,  53,  50,  73,  88,  76,  64,  56,  51,  48,  45,
        64,  78,  70,  61,  53,  48,  44,  41,  57,  69,  63,  56,  50,  45,  41,  39,

        /*Size 16 x 16*/
        130, 146, 161, 125,  89,  88,  87,  84,  81,  77,  73,  68,  64,  60,  57,  57,
        146, 141, 136, 113,  90,  92,  93,  91,  89,  85,  80,  76,  71,  67,  63,  63,
        161, 136, 112, 101,  91,  95, 100,  99,  97,  93,  88,  83,  78,  74,  69,  69,
        125, 113, 101,  92,  84,  87,  90,  89,  89,  85,  82,  78,  74,  70,  66,  66,
        89,  90,  91,  84,  77,  79,  80,  80,  80,  78,  76,  73,  70,  67,  63,  63,
        88,  92,  95,  87,  79,  77,  75,  74,  74,  72,  70,  68,  65,  63,  60,  60,
        87,  93, 100,  90,  80,  75,  71,  69,  67,  66,  64,  62,  61,  58,  56,  56,
        84,  91,  99,  89,  80,  74,  69,  66,  64,  62,  60,  58,  57,  55,  53,  53,
        81,  89,  97,  89,  80,  74,  67,  64,  60,  58,  56,  55,  53,  51,  50,  50,
        77,  85,  93,  85,  78,  72,  66,  62,  58,  56,  54,  52,  50,  49,  47,  47,
        73,  80,  88,  82,  76,  70,  64,  60,  56,  54,  51,  49,  48,  46,  45,  45,
        68,  76,  83,  78,  73,  68,  62,  58,  55,  52,  49,  47,  46,  44,  43,  43,
        64,  71,  78,  74,  70,  65,  61,  57,  53,  50,  48,  46,  44,  43,  41,  41,
        60,  67,  74,  70,  67,  63,  58,  55,  51,  49,  46,  44,  43,  41,  40,  40,
        57,  63,  69,  66,  63,  60,  56,  53,  50,  47,  45,  43,  41,  40,  39,  39,
        57,  63,  69,  66,  63,  60,  56,  53,  50,  47,  45,  43,  41,  40,  39,  39,

        /*Size 32 x 32*/
        130, 138, 146, 153, 161, 143, 125, 107,  89,  88,  88,  87,  87,  85,  84,  83,
        138, 140, 143, 146, 149, 134, 119, 104,  89,  89,  90,  90,  90,  89,  88,  86,
        146, 143, 141, 139, 136, 125, 113, 101,  90,  91,  92,  92,  93,  92,  91,  90,
        153, 146, 139, 131, 124, 115, 107,  99,  90,  92,  93,  95,  97,  96,  95,  94,
        161, 149, 136, 124, 112, 106, 101,  96,  91,  93,  95,  98, 100,  99,  99,  98,
        143, 134, 125, 115, 106, 101,  97,  92,  87,  89,  91,  93,  95,  94,  94,  93,
        125, 119, 113, 107, 101,  97,  92,  88,  84,  85,  87,  88,  90,  90,  89,  89,
        107, 104, 101,  99,  96,  92,  88,  84,  81,  82,  83,  84,  85,  85,  85,  85,
        89,  89,  90,  90,  91,  87,  84,  81,  77,  78,  79,  79,  80,  80,  80,  80,
        88,  89,  91,  92,  93,  89,  85,  82,  78,  78,  78,  78,  77,  77,  77,  77,
        88,  90,  92,  93,  95,  91,  87,  83,  79,  78,  77,  76,  75,  75,  74,  74,
        87,  90,  92,  95,  98,  93,  88,  84,  79,  78,  76,  74,  73,  72,  72,  71,
        87,  90,  93,  97, 100,  95,  90,  85,  80,  77,  75,  73,  71,  70,  69,  68,
        85,  89,  92,  96,  99,  94,  90,  85,  80,  77,  75,  72,  70,  69,  68,  67,
        84,  88,  91,  95,  99,  94,  89,  85,  80,  77,  74,  72,  69,  68,  66,  65,
        83,  86,  90,  94,  98,  93,  89,  85,  80,  77,  74,  71,  68,  67,  65,  63,

        /*Size 64 x 64*/
        130, 134, 138, 142, 146, 149, 153, 157, 161, 152, 143, 134, 125, 116, 107,  98,
        134, 136, 139, 142, 144, 147, 150, 152, 155, 147, 138, 130, 122, 114, 105,  97,
        138, 139, 140, 142, 143, 145, 146, 147, 149, 141, 134, 126, 119, 111, 104,  97,
        142, 142, 142, 142, 142, 142, 142, 142, 142, 136, 129, 123, 116, 109, 103,  96,
        146, 144, 143, 142, 141, 140, 139, 137, 136, 130, 125, 119, 113, 107, 101,  95,
        149, 147, 145, 142, 140, 137, 135, 132, 130, 125, 120, 115, 110, 105, 100,  95,
        153, 150, 146, 142, 139, 135, 131, 128, 124, 120, 115, 111, 107, 103,  99,  94,
        157, 152, 147, 142, 137, 132, 128, 123, 118, 114, 111, 107, 104, 101,  97,  94,
        161, 155, 149, 142, 136, 130, 124, 118, 112, 109, 106, 104, 101,  98,  96,  93,
        152, 147, 141, 136, 130, 125, 120, 114, 109, 106, 104, 101,  99,  96,  94,  91,
        143, 138, 134, 129, 125, 120, 115, 111, 106, 104, 101,  99,  97,  94,  92,  90,
        134, 130, 126, 123, 119, 115, 111, 107, 104, 101,  99,  97,  95,  92,  90,  88,
        125, 122, 119, 116, 113, 110, 107, 104, 101,  99,  97,  95,  92,  90,  88,  86,
        116, 114, 111, 109, 107, 105, 103, 101,  98,  96,  94,  92,  90,  88,  86,  84,
        107, 105, 104, 103, 101, 100,  99,  97,  96,  94,  92,  90,  88,  86,  84,  82,
        98,  97,  97,  96,  95,  95,  94,  94,  93,  91,  90,  88,  86,  84,  82,  81,

        /*Size 128 x 128*/
        130, 132, 134, 136, 138, 140, 142, 144, 146, 147, 149, 151, 153, 155, 157, 159,
        132, 134, 135, 137, 138, 140, 142, 143, 145, 147, 148, 150, 151, 153, 155, 156,
        134, 135, 136, 138, 139, 140, 142, 143, 144, 146, 147, 148, 150, 151, 152, 154,
        136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
        138, 138, 139, 140, 140, 141, 142, 143, 143, 144, 145, 145, 146, 147, 147, 148,
        140, 140, 140, 141, 141, 142, 142, 142, 143, 143, 143, 144, 144, 144, 145, 145,
        142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
        144, 143, 143, 143, 143, 142, 142, 142, 141, 141, 141, 141, 140, 140, 140, 140,
        146, 145, 144, 144, 143, 143, 142, 141, 141, 140, 140, 139, 139, 138, 137, 137,
        147, 147, 146, 145, 144, 143, 142, 141, 140, 139, 139, 138, 137, 136, 135, 134,
        149, 148, 147, 146, 145, 143, 142, 141, 140, 139, 137, 136, 135, 134, 132, 131,
        151, 150, 148, 147, 145, 144, 142, 141, 139, 138, 136, 135, 133, 132, 130, 128,
        153, 151, 150, 148, 146, 144, 142, 140, 139, 137, 135, 133, 131, 129, 128, 126,
        155, 153, 151, 149, 147, 144, 142, 140, 138, 136, 134, 132, 129, 127, 125, 123,
        157, 155, 152, 150, 147, 145, 142, 140, 137, 135, 132, 130, 128, 125, 123, 120,
        159, 156, 154, 151, 148, 145, 142, 140, 137, 134, 131, 128, 126, 123, 120, 117

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        70,  41,  37,  29,  41,  34,  31,  27,  37,  31,  24,  21,  29,  27,  21,  17,

        /*Size 8 x 8*/
        64,  80,  43,  39,  36,  32,  28,  24,  80,  55,  40,  45,  43,  39,  34,  30,
        43,  40,  34,  35,  35,  34,  31,  27,  39,  45,  35,  31,  29,  28,  26,  24,
        36,  43,  35,  29,  26,  24,  23,  21,  32,  39,  34,  28,  24,  22,  20,  19,
        28,  34,  31,  26,  23,  20,  18,  17,  24,  30,  27,  24,  21,  19,  17,  16,

        /*Size 16 x 16*/
        64,  72,  80,  61,  43,  41,  39,  37,  36,  34,  32,  30,  28,  26,  24,  24,
        72,  70,  67,  54,  41,  41,  42,  41,  40,  37,  35,  33,  31,  29,  27,  27,
        80,  67,  55,  47,  40,  42,  45,  44,  43,  41,  39,  37,  34,  32,  30,  30,
        61,  54,  47,  42,  37,  39,  40,  40,  39,  38,  36,  34,  32,  31,  29,  29,
        43,  41,  40,  37,  34,  35,  35,  35,  35,  34,  34,  32,  31,  29,  27,  27,
        41,  41,  42,  39,  35,  34,  33,  33,  32,  31,  31,  29,  28,  27,  26,  26,
        39,  42,  45,  40,  35,  33,  31,  30,  29,  29,  28,  27,  26,  25,  24,  24,
        37,  41,  44,  40,  35,  33,  30,  29,  28,  27,  26,  25,  24,  23,  23,  23,
        36,  40,  43,  39,  35,  32,  29,  28,  26,  25,  24,  23,  23,  22,  21,  21,
        34,  37,  41,  38,  34,  31,  29,  27,  25,  24,  23,  22,  21,  21,  20,  20,
        32,  35,  39,  36,  34,  31,  28,  26,  24,  23,  22,  21,  20,  19,  19,  19,
        30,  33,  37,  34,  32,  29,  27,  25,  23,  22,  21,  20,  19,  19,  18,  18,
        28,  31,  34,  32,  31,  28,  26,  24,  23,  21,  20,  19,  18,  18,  17,  17,
        26,  29,  32,  31,  29,  27,  25,  23,  22,  21,  19,  19,  18,  17,  16,  16,
        24,  27,  30,  29,  27,  26,  24,  23,  21,  20,  19,  18,  17,  16,  16,  16,
        24,  27,  30,  29,  27,  26,  24,  23,  21,  20,  19,  18,  17,  16,  16,  16,

        /*Size 32 x 32*/
        64,  68,  72,  76,  80,  71,  61,  52,  43,  42,  41,  40,  39,  38,  37,  36,
        68,  70,  71,  72,  74,  66,  58,  50,  42,  41,  41,  40,  40,  39,  39,  38,
        72,  71,  70,  69,  67,  61,  54,  48,  41,  41,  41,  41,  42,  41,  41,  40,
        76,  72,  69,  65,  61,  56,  51,  46,  41,  41,  42,  42,  43,  43,  42,  42,
        80,  74,  67,  61,  55,  51,  47,  44,  40,  41,  42,  43,  45,  44,  44,  44,
        71,  66,  61,  56,  51,  48,  45,  42,  39,  40,  40,  41,  42,  42,  42,  41,
        61,  58,  54,  51,  47,  45,  42,  40,  37,  38,  39,  39,  40,  40,  40,  39,
        52,  50,  48,  46,  44,  42,  40,  38,  36,  36,  37,  37,  38,  37,  37,  37,
        43,  42,  41,  41,  40,  39,  37,  36,  34,  34,  35,  35,  35,  35,  35,  35,
        42,  41,  41,  41,  41,  40,  38,  36,  34,  34,  34,  34,  34,  34,  34,  34,
        41,  41,  41,  42,  42,  40,  39,  37,  35,  34,  34,  33,  33,  33,  33,  32,
        40,  40,  41,  42,  43,  41,  39,  37,  35,  34,  33,  33,  32,  32,  31,  31,
        39,  40,  42,  43,  45,  42,  40,  38,  35,  34,  33,  32,  31,  30,  30,  30,
        38,  39,  41,  43,  44,  42,  40,  37,  35,  34,  33,  32,  30,  30,  29,  29,
        37,  39,  41,  42,  44,  42,  40,  37,  35,  34,  33,  31,  30,  29,  29,  28,
        36,  38,  40,  42,  44,  41,  39,  37,  35,  34,  32,  31,  30,  29,  28,  27,

        /*Size 64 x 64*/
        64,  66,  68,  70,  72,  74,  76,  78,  80,  76,  71,  66,  61,  57,  52,  47,
        66,  67,  69,  70,  72,  73,  74,  76,  77,  73,  68,  64,  60,  55,  51,  47,
        68,  69,  70,  70,  71,  72,  72,  73,  74,  70,  66,  62,  58,  54,  50,  46,
        70,  70,  70,  70,  70,  70,  70,  71,  71,  67,  63,  60,  56,  53,  49,  45,
        72,  72,  71,  70,  70,  69,  69,  68,  67,  64,  61,  58,  54,  51,  48,  45,
        74,  73,  72,  70,  69,  68,  67,  65,  64,  61,  58,  56,  53,  50,  47,  44,
        76,  74,  72,  70,  69,  67,  65,  63,  61,  58,  56,  53,  51,  48,  46,  43,
        78,  76,  73,  71,  68,  65,  63,  60,  58,  56,  53,  51,  49,  47,  45,  43,
        80,  77,  74,  71,  67,  64,  61,  58,  55,  53,  51,  49,  47,  46,  44,  42,
        76,  73,  70,  67,  64,  61,  58,  56,  53,  51,  49,  48,  46,  44,  43,  41,
        71,  68,  66,  63,  61,  58,  56,  53,  51,  49,  48,  46,  45,  43,  42,  40,
        66,  64,  62,  60,  58,  56,  53,  51,  49,  48,  46,  45,  44,  42,  41,  39,
        61,  60,  58,  56,  54,  53,  51,  49,  47,  46,  45,  44,  42,  41,  40,  38,
        57,  55,  54,  53,  51,  50,  48,  47,  46,  44,  43,  42,  41,  40,  39,  38,
        52,  51,  50,  49,  48,  47,  46,  45,  44,  43,  42,  41,  40,  39,  38,  37,
        47,  47,  46,  45,  45,  44,  43,  43,  42,  41,  40,  39,  38,  38,  37,  36,

        /*Size 128 x 128*/
        64,  65,  66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,
        65,  66,  67,  68,  68,  69,  70,  71,  72,  73,  74,  74,  75,  76,  77,  78,
        66,  67,  67,  68,  69,  69,  70,  71,  72,  72,  73,  74,  74,  75,  76,  76,
        67,  68,  68,  69,  69,  70,  70,  71,  71,  72,  72,  73,  73,  74,  74,  75,
        68,  68,  69,  69,  70,  70,  70,  71,  71,  71,  72,  72,  72,  73,  73,  73,
        69,  69,  69,  70,  70,  70,  70,  70,  71,  71,  71,  71,  71,  72,  72,  72,
        70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  71,  71,  71,
        71,  71,  71,  71,  71,  70,  70,  70,  70,  70,  70,  70,  70,  69,  69,  69,
        72,  72,  72,  71,  71,  71,  70,  70,  70,  69,  69,  69,  69,  68,  68,  68,
        73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  69,  68,  68,  67,  67,  66,
        74,  74,  73,  72,  72,  71,  70,  70,  69,  69,  68,  67,  67,  66,  65,  65,
        75,  74,  74,  73,  72,  71,  70,  70,  69,  68,  67,  66,  66,  65,  64,  63,
        76,  75,  74,  73,  72,  71,  70,  70,  69,  68,  67,  66,  65,  64,  63,  62,
        77,  76,  75,  74,  73,  72,  71,  69,  68,  67,  66,  65,  64,  63,  62,  60,
        78,  77,  76,  74,  73,  72,  71,  69,  68,  67,  65,  64,  63,  62,  60,  59,
        79,  78,  76,  75,  73,  72,  71,  69,  68,  66,  65,  63,  62,  60,  59,  58

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        152,  93,  84,  67,  93,  77,  72,  62,  84,  72,  56,  49,  67,  62,  49,  41,

        /*Size 8 x 8*/
        140, 174,  95,  86,  81,  72,  64,  57, 174, 120,  90,  99,  96,  88,  78,  69,
        95,  90,  77,  80,  80,  76,  70,  63,  86,  99,  80,  70,  67,  64,  61,  56,
        81,  96,  80,  67,  60,  56,  53,  50,  72,  88,  76,  64,  56,  51,  48,  45,
        64,  78,  70,  61,  53,  48,  44,  41,  57,  69,  63,  56,  50,  45,  41,  39,

        /*Size 16 x 16*/
        140, 157, 174, 134,  95,  91,  86,  84,  81,  77,  72,  68,  64,  60,  57,  57,
        157, 152, 147, 120,  92,  93,  93,  91,  89,  84,  80,  75,  71,  67,  63,  63,
        174, 147, 120, 105,  90,  95,  99,  98,  96,  92,  88,  83,  78,  73,  69,  69,
        134, 120, 105,  94,  83,  86,  89,  89,  88,  85,  82,  78,  74,  70,  66,  66,
        95,  92,  90,  83,  77,  78,  80,  80,  80,  78,  76,  73,  70,  66,  63,  63,
        91,  93,  95,  86,  78,  77,  75,  74,  73,  72,  70,  67,  65,  62,  60,  60,
        86,  93,  99,  89,  80,  75,  70,  69,  67,  66,  64,  62,  61,  58,  56,  56,
        84,  91,  98,  89,  80,  74,  69,  66,  64,  62,  60,  58,  57,  55,  53,  53,
        81,  89,  96,  88,  80,  73,  67,  64,  60,  58,  56,  54,  53,  51,  50,  50,
        77,  84,  92,  85,  78,  72,  66,  62,  58,  56,  54,  52,  50,  49,  47,  47,
        72,  80,  88,  82,  76,  70,  64,  60,  56,  54,  51,  49,  48,  46,  45,  45,
        68,  75,  83,  78,  73,  67,  62,  58,  54,  52,  49,  48,  46,  44,  43,  43,
        64,  71,  78,  74,  70,  65,  61,  57,  53,  50,  48,  46,  44,  43,  41,  41,
        60,  67,  73,  70,  66,  62,  58,  55,  51,  49,  46,  44,  43,  41,  40,  40,
        57,  63,  69,  66,  63,  60,  56,  53,  50,  47,  45,  43,  41,  40,  39,  39,
        57,  63,  69,  66,  63,  60,  56,  53,  50,  47,  45,  43,  41,  40,  39,  39,

        /*Size 32 x 32*/
        140, 148, 157, 165, 174, 154, 134, 115,  95,  93,  91,  88,  86,  85,  84,  82,
        148, 151, 154, 157, 160, 144, 127, 110,  94,  93,  92,  91,  90,  88,  87,  86,
        157, 154, 152, 149, 147, 133, 120, 106,  92,  92,  93,  93,  93,  92,  91,  90,
        165, 157, 149, 141, 133, 123, 112, 102,  91,  92,  94,  95,  96,  95,  94,  93,
        174, 160, 147, 133, 120, 112, 105,  97,  90,  92,  95,  97,  99,  99,  98,  97,
        154, 144, 133, 123, 112, 106,  99,  93,  87,  88,  90,  92,  94,  94,  93,  93,
        134, 127, 120, 112, 105,  99,  94,  89,  83,  85,  86,  88,  89,  89,  89,  88,
        115, 110, 106, 102,  97,  93,  89,  84,  80,  81,  82,  83,  84,  84,  84,  84,
        95,  94,  92,  91,  90,  87,  83,  80,  77,  77,  78,  79,  80,  80,  80,  80,
        93,  93,  92,  92,  92,  88,  85,  81,  77,  77,  77,  77,  77,  77,  77,  77,
        91,  92,  93,  94,  95,  90,  86,  82,  78,  77,  77,  76,  75,  75,  74,  74,
        88,  91,  93,  95,  97,  92,  88,  83,  79,  77,  76,  74,  73,  72,  71,  71,
        86,  90,  93,  96,  99,  94,  89,  84,  80,  77,  75,  73,  70,  69,  69,  68,
        85,  88,  92,  95,  99,  94,  89,  84,  80,  77,  75,  72,  69,  68,  67,  66,
        84,  87,  91,  94,  98,  93,  89,  84,  80,  77,  74,  71,  69,  67,  66,  65,
        82,  86,  90,  93,  97,  93,  88,  84,  80,  77,  74,  71,  68,  66,  65,  63,

        /*Size 64 x 64*/
        140, 144, 148, 153, 157, 161, 165, 170, 174, 164, 154, 144, 134, 125, 115, 105,
        144, 147, 150, 153, 156, 158, 161, 164, 167, 158, 149, 140, 131, 122, 113, 103,
        148, 150, 151, 153, 154, 156, 157, 159, 160, 152, 144, 135, 127, 119, 110, 102,
        153, 153, 153, 153, 153, 153, 153, 153, 154, 146, 138, 131, 123, 116, 108, 101,
        157, 156, 154, 153, 152, 151, 149, 148, 147, 140, 133, 126, 120, 113, 106,  99,
        161, 158, 156, 153, 151, 148, 145, 143, 140, 134, 128, 122, 116, 110, 104,  98,
        165, 161, 157, 153, 149, 145, 141, 137, 133, 128, 123, 117, 112, 107, 102,  96,
        170, 164, 159, 153, 148, 143, 137, 132, 127, 122, 117, 113, 108, 104,  99,  95,
        174, 167, 160, 154, 147, 140, 133, 127, 120, 116, 112, 109, 105, 101,  97,  94,
        164, 158, 152, 146, 140, 134, 128, 122, 116, 113, 109, 106, 102,  99,  95,  92,
        154, 149, 144, 138, 133, 128, 123, 117, 112, 109, 106, 103,  99,  96,  93,  90,
        144, 140, 135, 131, 126, 122, 117, 113, 109, 106, 103, 100,  97,  94,  91,  88,
        134, 131, 127, 123, 120, 116, 112, 108, 105, 102,  99,  97,  94,  91,  89,  86,
        125, 122, 119, 116, 113, 110, 107, 104, 101,  99,  96,  94,  91,  89,  86,  84,
        115, 113, 110, 108, 106, 104, 102,  99,  97,  95,  93,  91,  89,  86,  84,  82,
        105, 103, 102, 101,  99,  98,  96,  95,  94,  92,  90,  88,  86,  84,  82,  80,

        /*Size 128 x 128*/
        140, 142, 144, 146, 148, 150, 153, 155, 157, 159, 161, 163, 165, 167, 170, 172,
        142, 144, 145, 147, 149, 151, 153, 154, 156, 158, 160, 161, 163, 165, 167, 169,
        144, 145, 147, 148, 150, 151, 153, 154, 156, 157, 158, 160, 161, 163, 164, 166,
        146, 147, 148, 149, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 163,
        148, 149, 150, 151, 151, 152, 153, 154, 154, 155, 156, 157, 157, 158, 159, 160,
        150, 151, 151, 152, 152, 152, 153, 153, 154, 154, 154, 155, 155, 156, 156, 156,
        153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
        155, 154, 154, 154, 154, 153, 153, 153, 152, 152, 152, 152, 151, 151, 151, 150,
        157, 156, 156, 155, 154, 154, 153, 152, 152, 151, 151, 150, 149, 149, 148, 147,
        159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144,
        161, 160, 158, 157, 156, 154, 153, 152, 151, 149, 148, 147, 145, 144, 143, 141,
        163, 161, 160, 158, 157, 155, 153, 152, 150, 148, 147, 145, 143, 142, 140, 138,
        165, 163, 161, 159, 157, 155, 153, 151, 149, 147, 145, 143, 141, 139, 137, 135,
        167, 165, 163, 160, 158, 156, 153, 151, 149, 146, 144, 142, 139, 137, 135, 132,
        170, 167, 164, 161, 159, 156, 153, 151, 148, 145, 143, 140, 137, 135, 132, 129,
        172, 169, 166, 163, 160, 156, 153, 150, 147, 144, 141, 138, 135, 132, 129, 126

      }
    }
  },
  {
    /* QM level 4*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        76,  70,  46,  32,  70,  49,  38,  30,  46,  38,  29,  26,  32,  30,  26,  23,

        /*Size 8 x 8*/
        64,  83,  77,  60,  47,  38,  33,  29,  83,  73,  76,  66,  53,  44,  37,  32,
        77,  76,  57,  50,  44,  38,  33,  30,  60,  66,  50,  41,  36,  33,  30,  28,
        47,  53,  44,  36,  32,  29,  27,  26,  38,  44,  38,  33,  29,  27,  26,  24,
        33,  37,  33,  30,  27,  26,  24,  23,  29,  32,  30,  28,  26,  24,  23,  23,

        /*Size 16 x 16*/
        64,  73,  83,  80,  77,  69,  60,  54,  47,  43,  38,  35,  33,  31,  29,  29,
        73,  76,  78,  77,  76,  70,  63,  57,  50,  46,  41,  38,  35,  32,  30,  30,
        83,  78,  73,  74,  76,  71,  66,  60,  53,  48,  44,  40,  37,  34,  32,  32,
        80,  77,  74,  70,  66,  62,  58,  53,  48,  45,  41,  38,  35,  33,  31,  31,
        77,  76,  76,  66,  57,  53,  50,  47,  44,  41,  38,  36,  33,  32,  30,  30,
        69,  70,  71,  62,  53,  49,  45,  43,  40,  38,  35,  34,  32,  30,  29,  29,
        60,  63,  66,  58,  50,  45,  41,  39,  36,  35,  33,  31,  30,  29,  28,  28,
        54,  57,  60,  53,  47,  43,  39,  36,  34,  33,  31,  30,  29,  28,  27,  27,
        47,  50,  53,  48,  44,  40,  36,  34,  32,  31,  29,  28,  27,  27,  26,  26,
        43,  46,  48,  45,  41,  38,  35,  33,  31,  29,  28,  27,  26,  26,  25,  25,
        38,  41,  44,  41,  38,  35,  33,  31,  29,  28,  27,  26,  26,  25,  24,  24,
        35,  38,  40,  38,  36,  34,  31,  30,  28,  27,  26,  26,  25,  24,  24,  24,
        33,  35,  37,  35,  33,  32,  30,  29,  27,  26,  26,  25,  24,  24,  23,  23,
        31,  32,  34,  33,  32,  30,  29,  28,  27,  26,  25,  24,  24,  23,  23,  23,
        29,  30,  32,  31,  30,  29,  28,  27,  26,  25,  24,  24,  23,  23,  23,  23,
        29,  30,  32,  31,  30,  29,  28,  27,  26,  25,  24,  24,  23,  23,  23,  23,

        /*Size 32 x 32*/
        64,  69,  73,  78,  83,  81,  80,  78,  77,  73,  69,  64,  60,  57,  54,  50,
        69,  72,  74,  77,  80,  79,  78,  77,  77,  73,  69,  65,  62,  58,  55,  52,
        73,  74,  76,  77,  78,  77,  77,  77,  76,  73,  70,  66,  63,  60,  57,  53,
        78,  77,  77,  76,  75,  76,  76,  76,  76,  73,  70,  67,  64,  61,  58,  55,
        83,  80,  78,  75,  73,  74,  74,  75,  76,  73,  71,  68,  66,  63,  60,  56,
        81,  79,  77,  76,  74,  73,  72,  72,  71,  69,  66,  64,  62,  59,  56,  54,
        80,  78,  77,  76,  74,  72,  70,  68,  66,  64,  62,  60,  58,  55,  53,  51,
        78,  77,  77,  76,  75,  72,  68,  65,  61,  59,  57,  56,  54,  52,  50,  48,
        77,  77,  76,  76,  76,  71,  66,  61,  57,  55,  53,  51,  50,  48,  47,  45,
        73,  73,  73,  73,  73,  69,  64,  59,  55,  53,  51,  49,  47,  46,  45,  43,
        69,  69,  70,  70,  71,  66,  62,  57,  53,  51,  49,  47,  45,  44,  43,  41,
        64,  65,  66,  67,  68,  64,  60,  56,  51,  49,  47,  45,  43,  42,  41,  39,
        60,  62,  63,  64,  66,  62,  58,  54,  50,  47,  45,  43,  41,  40,  39,  37,
        57,  58,  60,  61,  63,  59,  55,  52,  48,  46,  44,  42,  40,  39,  37,  36,
        54,  55,  57,  58,  60,  56,  53,  50,  47,  45,  43,  41,  39,  37,  36,  35,
        50,  52,  53,  55,  56,  54,  51,  48,  45,  43,  41,  39,  37,  36,  35,  34,

        /*Size 64 x 64*/
        64,  66,  69,  71,  73,  76,  78,  80,  83,  82,  81,  80,  80,  79,  78,  77,
        66,  68,  70,  72,  74,  76,  78,  79,  81,  81,  80,  80,  79,  78,  78,  77,
        69,  70,  72,  73,  74,  76,  77,  79,  80,  80,  79,  79,  78,  78,  77,  77,
        71,  72,  73,  74,  75,  76,  77,  78,  79,  79,  78,  78,  78,  77,  77,  77,
        73,  74,  74,  75,  76,  76,  77,  77,  78,  78,  77,  77,  77,  77,  77,  76,
        76,  76,  76,  76,  76,  76,  76,  76,  77,  77,  76,  76,  76,  76,  76,  76,
        78,  78,  77,  77,  77,  76,  76,  76,  75,  75,  76,  76,  76,  76,  76,  76,
        80,  79,  79,  78,  77,  76,  76,  75,  74,  74,  75,  75,  75,  75,  75,  76,
        83,  81,  80,  79,  78,  77,  75,  74,  73,  73,  74,  74,  74,  75,  75,  75,
        82,  81,  80,  79,  78,  77,  75,  74,  73,  73,  73,  73,  73,  73,  73,  73,
        81,  80,  79,  78,  77,  76,  76,  75,  74,  73,  73,  73,  72,  72,  72,  71,
        80,  80,  79,  78,  77,  76,  76,  75,  74,  73,  73,  72,  71,  71,  70,  69,
        80,  79,  78,  78,  77,  76,  76,  75,  74,  73,  72,  71,  70,  69,  68,  67,
        79,  78,  78,  77,  77,  76,  76,  75,  75,  73,  72,  71,  69,  68,  66,  65,
        78,  78,  77,  77,  77,  76,  76,  75,  75,  73,  72,  70,  68,  66,  65,  63,
        77,  77,  77,  77,  76,  76,  76,  76,  75,  73,  71,  69,  67,  65,  63,  61,

        /*Size 128 x 128*/
        64,  65,  66,  67,  69,  70,  71,  72,  73,  74,  76,  77,  78,  79,  80,  81,
        65,  66,  67,  68,  69,  70,  71,  72,  74,  75,  76,  77,  78,  79,  80,  81,
        66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  79,  80,
        67,  68,  69,  70,  71,  72,  72,  73,  74,  75,  76,  77,  77,  78,  79,  80,
        69,  69,  70,  71,  72,  72,  73,  74,  74,  75,  76,  77,  77,  78,  79,  79,
        70,  70,  71,  72,  72,  73,  73,  74,  75,  75,  76,  76,  77,  78,  78,  79,
        71,  71,  72,  72,  73,  73,  74,  74,  75,  75,  76,  76,  77,  77,  78,  78,
        72,  72,  73,  73,  74,  74,  74,  75,  75,  76,  76,  76,  77,  77,  78,  78,
        73,  74,  74,  74,  74,  75,  75,  75,  76,  76,  76,  76,  77,  77,  77,  77,
        74,  75,  75,  75,  75,  75,  75,  76,  76,  76,  76,  76,  76,  77,  77,  77,
        76,  76,  76,  76,  76,  76,  76,  76,  76,  76,  76,  76,  76,  76,  76,  77,
        77,  77,  77,  77,  77,  76,  76,  76,  76,  76,  76,  76,  76,  76,  76,  76,
        78,  78,  78,  77,  77,  77,  77,  77,  77,  76,  76,  76,  76,  76,  76,  76,
        79,  79,  79,  78,  78,  78,  77,  77,  77,  77,  76,  76,  76,  76,  75,  75,
        80,  80,  79,  79,  79,  78,  78,  78,  77,  77,  76,  76,  76,  75,  75,  75,
        81,  81,  80,  80,  79,  79,  78,  78,  77,  77,  77,  76,  76,  75,  75,  74

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        180, 165,  99,  63, 165, 109,  78,  57,  99,  78,  55,  45,  63,  57,  45,  39,

        /*Size 8 x 8*/
        149, 199, 184, 139, 103,  79,  63,  53, 199, 173, 181, 154, 120,  93,  74,  61,
        184, 181, 129, 110,  94,  79,  66,  56, 139, 154, 110,  86,  74,  65,  57,  51,
        103, 120,  94,  74,  62,  55,  50,  46,  79,  93,  79,  65,  55,  49,  45,  42,
        63,  74,  66,  57,  50,  45,  41,  39,  53,  61,  56,  51,  46,  42,  39,  37,

        /*Size 16 x 16*/
        149, 174, 199, 191, 184, 161, 139, 121, 103,  91,  79,  71,  63,  58,  53,  53,
        174, 180, 186, 184, 182, 165, 147, 129, 112,  99,  86,  77,  69,  63,  57,  57,
        199, 186, 173, 177, 181, 168, 154, 137, 120, 107,  93,  84,  74,  68,  61,  61,
        191, 184, 177, 166, 155, 143, 132, 120, 107,  96,  86,  78,  70,  64,  59,  59,
        184, 182, 181, 155, 129, 119, 110, 102,  94,  86,  79,  72,  66,  61,  56,  56,
        161, 165, 168, 143, 119, 109,  98,  91,  84,  78,  72,  67,  62,  57,  53,  53,
        139, 147, 154, 132, 110,  98,  86,  80,  74,  69,  65,  61,  57,  54,  51,  51,
        121, 129, 137, 120, 102,  91,  80,  74,  68,  64,  60,  57,  53,  51,  48,  48,
        103, 112, 120, 107,  94,  84,  74,  68,  62,  58,  55,  52,  50,  48,  46,  46,
        91,  99, 107,  96,  86,  78,  69,  64,  58,  55,  52,  49,  47,  45,  44,  44,
        79,  86,  93,  86,  79,  72,  65,  60,  55,  52,  49,  47,  45,  43,  42,  42,
        71,  77,  84,  78,  72,  67,  61,  57,  52,  49,  47,  45,  43,  42,  40,  40,
        63,  69,  74,  70,  66,  62,  57,  53,  50,  47,  45,  43,  41,  40,  39,  39,
        58,  63,  68,  64,  61,  57,  54,  51,  48,  45,  43,  42,  40,  39,  38,  38,
        53,  57,  61,  59,  56,  53,  51,  48,  46,  44,  42,  40,  39,  38,  37,  37,
        53,  57,  61,  59,  56,  53,  51,  48,  46,  44,  42,  40,  39,  38,  37,  37,

        /*Size 32 x 32*/
        149, 162, 174, 187, 199, 195, 191, 188, 184, 173, 161, 150, 139, 130, 121, 112,
        162, 169, 177, 185, 193, 190, 188, 185, 183, 173, 163, 153, 143, 134, 125, 116,
        174, 177, 180, 183, 186, 185, 184, 183, 182, 173, 165, 156, 147, 138, 129, 120,
        187, 185, 183, 181, 180, 180, 181, 181, 182, 174, 166, 158, 150, 142, 133, 125,
        199, 193, 186, 180, 173, 175, 177, 179, 181, 174, 168, 161, 154, 146, 137, 129,
        195, 190, 185, 180, 175, 173, 172, 170, 168, 162, 156, 149, 143, 136, 128, 121,
        191, 188, 184, 181, 177, 172, 166, 160, 155, 149, 143, 138, 132, 126, 120, 113,
        188, 185, 183, 181, 179, 170, 160, 151, 142, 136, 131, 126, 121, 116, 111, 106,
        184, 183, 182, 182, 181, 168, 155, 142, 129, 124, 119, 114, 110, 106, 102,  98,
        173, 173, 173, 174, 174, 162, 149, 136, 124, 119, 114, 109, 104, 100,  96,  93,
        161, 163, 165, 166, 168, 156, 143, 131, 119, 114, 109, 103,  98,  94,  91,  87,
        150, 153, 156, 158, 161, 149, 138, 126, 114, 109, 103,  98,  92,  89,  85,  82,
        139, 143, 147, 150, 154, 143, 132, 121, 110, 104,  98,  92,  86,  83,  80,  77,
        130, 134, 138, 142, 146, 136, 126, 116, 106, 100,  94,  89,  83,  80,  77,  74,
        121, 125, 129, 133, 137, 128, 120, 111, 102,  96,  91,  85,  80,  77,  74,  71,
        112, 116, 120, 125, 129, 121, 113, 106,  98,  93,  87,  82,  77,  74,  71,  68,

        /*Size 64 x 64*/
        149, 155, 162, 168, 174, 180, 187, 193, 199, 197, 195, 193, 191, 189, 188, 186,
        155, 160, 165, 170, 176, 181, 186, 191, 196, 194, 193, 191, 190, 188, 187, 185,
        162, 165, 169, 173, 177, 181, 185, 189, 193, 191, 190, 189, 188, 187, 185, 184,
        168, 170, 173, 176, 179, 181, 184, 187, 189, 189, 188, 187, 186, 185, 184, 184,
        174, 176, 177, 179, 180, 182, 183, 185, 186, 186, 185, 185, 184, 184, 183, 183,
        180, 181, 181, 181, 182, 182, 182, 183, 183, 183, 183, 183, 182, 182, 182, 182,
        187, 186, 185, 184, 183, 182, 181, 181, 180, 180, 180, 180, 181, 181, 181, 181,
        193, 191, 189, 187, 185, 183, 181, 179, 176, 177, 178, 178, 179, 180, 180, 181,
        199, 196, 193, 189, 186, 183, 180, 176, 173, 174, 175, 176, 177, 178, 179, 180,
        197, 194, 191, 189, 186, 183, 180, 177, 174, 174, 174, 174, 174, 174, 174, 174,
        195, 193, 190, 188, 185, 183, 180, 178, 175, 174, 173, 172, 172, 171, 170, 169,
        193, 191, 189, 187, 185, 183, 180, 178, 176, 174, 172, 171, 169, 167, 165, 163,
        191, 190, 188, 186, 184, 182, 181, 179, 177, 174, 172, 169, 166, 163, 160, 158,
        189, 188, 187, 185, 184, 182, 181, 180, 178, 174, 171, 167, 163, 159, 156, 152,
        188, 187, 185, 184, 183, 182, 181, 180, 179, 174, 170, 165, 160, 156, 151, 146,
        186, 185, 184, 184, 183, 182, 181, 181, 180, 174, 169, 163, 158, 152, 146, 141,

        /*Size 128 x 128*/
        149, 152, 155, 158, 162, 165, 168, 171, 174, 177, 180, 183, 187, 190, 193, 196,
        152, 155, 158, 161, 163, 166, 169, 172, 175, 178, 180, 183, 186, 189, 192, 195,
        155, 158, 160, 163, 165, 168, 170, 173, 176, 178, 181, 183, 186, 188, 191, 193,
        158, 161, 163, 165, 167, 170, 172, 174, 176, 179, 181, 183, 185, 187, 190, 192,
        162, 163, 165, 167, 169, 171, 173, 175, 177, 179, 181, 183, 185, 187, 189, 191,
        165, 166, 168, 170, 171, 173, 174, 176, 178, 179, 181, 183, 184, 186, 188, 189,
        168, 169, 170, 172, 173, 174, 176, 177, 179, 180, 181, 183, 184, 185, 187, 188,
        171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 184, 185, 186, 187,
        174, 175, 176, 176, 177, 178, 179, 179, 180, 181, 182, 182, 183, 184, 185, 185,
        177, 178, 178, 179, 179, 179, 180, 180, 181, 181, 182, 182, 183, 183, 184, 184,
        180, 180, 181, 181, 181, 181, 181, 181, 182, 182, 182, 182, 182, 182, 183, 183,
        183, 183, 183, 183, 183, 183, 183, 182, 182, 182, 182, 182, 182, 182, 182, 181,
        187, 186, 186, 185, 185, 184, 184, 184, 183, 183, 182, 182, 181, 181, 181, 180,
        190, 189, 188, 187, 187, 186, 185, 185, 184, 183, 182, 182, 181, 180, 180, 179,
        193, 192, 191, 190, 189, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 177,
        196, 195, 193, 192, 191, 189, 188, 187, 185, 184, 183, 181, 180, 179, 177, 176

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        69,  46,  43,  34,  46,  39,  37,  32,  43,  37,  29,  26,  34,  32,  26,  22,

        /*Size 8 x 8*/
        64,  79,  45,  44,  41,  37,  33,  30,  79,  55,  46,  50,  49,  45,  40,  35,
        45,  46,  39,  41,  41,  39,  36,  33,  44,  50,  41,  36,  35,  33,  32,  30,
        41,  49,  41,  35,  31,  29,  28,  27,  37,  45,  39,  33,  29,  27,  25,  24,
        33,  40,  36,  32,  28,  25,  24,  22,  30,  35,  33,  30,  27,  24,  22,  21,

        /*Size 16 x 16*/
        64,  71,  79,  62,  45,  44,  44,  43,  41,  39,  37,  35,  33,  31,  30,  30,
        71,  69,  67,  56,  45,  46,  47,  46,  45,  43,  41,  39,  36,  34,  32,  32,
        79,  67,  55,  50,  46,  48,  50,  49,  49,  47,  45,  42,  40,  38,  35,  35,
        62,  56,  50,  46,  42,  44,  45,  45,  45,  43,  42,  40,  38,  36,  34,  34,
        45,  45,  46,  42,  39,  40,  41,  41,  41,  40,  39,  37,  36,  34,  33,  33,
        44,  46,  48,  44,  40,  39,  38,  38,  38,  37,  36,  35,  34,  32,  31,  31,
        44,  47,  50,  45,  41,  38,  36,  35,  35,  34,  33,  32,  32,  31,  30,  30,
        43,  46,  49,  45,  41,  38,  35,  34,  33,  32,  31,  30,  30,  29,  28,  28,
        41,  45,  49,  45,  41,  38,  35,  33,  31,  30,  29,  29,  28,  27,  27,  27,
        39,  43,  47,  43,  40,  37,  34,  32,  30,  29,  28,  27,  27,  26,  25,  25,
        37,  41,  45,  42,  39,  36,  33,  31,  29,  28,  27,  26,  25,  25,  24,  24,
        35,  39,  42,  40,  37,  35,  32,  30,  29,  27,  26,  25,  24,  24,  23,  23,
        33,  36,  40,  38,  36,  34,  32,  30,  28,  27,  25,  24,  24,  23,  22,  22,
        31,  34,  38,  36,  34,  32,  31,  29,  27,  26,  25,  24,  23,  22,  22,  22,
        30,  32,  35,  34,  33,  31,  30,  28,  27,  25,  24,  23,  22,  22,  21,  21,
        30,  32,  35,  34,  33,  31,  30,  28,  27,  25,  24,  23,  22,  22,  21,  21,

        /*Size 32 x 32*/
        64,  68,  71,  75,  79,  70,  62,  53,  45,  45,  44,  44,  44,  43,  43,  42,
        68,  69,  70,  71,  73,  66,  59,  52,  45,  45,  45,  45,  45,  45,  44,  44,
        71,  70,  69,  68,  67,  61,  56,  51,  45,  46,  46,  46,  47,  46,  46,  45,
        75,  71,  68,  65,  61,  57,  53,  49,  45,  46,  47,  48,  48,  48,  48,  47,
        79,  73,  67,  61,  55,  53,  50,  48,  46,  47,  48,  49,  50,  50,  49,  49,
        70,  66,  61,  57,  53,  51,  48,  46,  44,  45,  46,  47,  48,  47,  47,  47,
        62,  59,  56,  53,  50,  48,  46,  44,  42,  43,  44,  45,  45,  45,  45,  45,
        53,  52,  51,  49,  48,  46,  44,  43,  41,  41,  42,  42,  43,  43,  43,  43,
        45,  45,  45,  45,  46,  44,  42,  41,  39,  40,  40,  40,  41,  41,  41,  41,
        45,  45,  46,  46,  47,  45,  43,  41,  40,  40,  40,  39,  39,  39,  39,  39,
        44,  45,  46,  47,  48,  46,  44,  42,  40,  40,  39,  39,  38,  38,  38,  38,
        44,  45,  46,  48,  49,  47,  45,  42,  40,  39,  39,  38,  37,  37,  37,  36,
        44,  45,  47,  48,  50,  48,  45,  43,  41,  39,  38,  37,  36,  36,  35,  35,
        43,  45,  46,  48,  50,  47,  45,  43,  41,  39,  38,  37,  36,  35,  35,  34,
        43,  44,  46,  48,  49,  47,  45,  43,  41,  39,  38,  37,  35,  35,  34,  34,
        42,  44,  45,  47,  49,  47,  45,  43,  41,  39,  38,  36,  35,  34,  34,  33,

        /*Size 64 x 64*/
        64,  66,  68,  69,  71,  73,  75,  77,  79,  74,  70,  66,  62,  57,  53,  49,
        66,  67,  68,  69,  71,  72,  73,  74,  76,  72,  68,  64,  60,  56,  53,  49,
        68,  68,  69,  70,  70,  71,  71,  72,  73,  69,  66,  62,  59,  55,  52,  48,
        69,  69,  70,  70,  70,  70,  70,  70,  70,  67,  64,  61,  57,  54,  51,  48,
        71,  71,  70,  70,  69,  69,  68,  67,  67,  64,  61,  59,  56,  53,  51,  48,
        73,  72,  71,  70,  69,  67,  66,  65,  64,  62,  59,  57,  55,  52,  50,  48,
        75,  73,  71,  70,  68,  66,  65,  63,  61,  59,  57,  55,  53,  51,  49,  47,
        77,  74,  72,  70,  67,  65,  63,  60,  58,  57,  55,  53,  52,  50,  49,  47,
        79,  76,  73,  70,  67,  64,  61,  58,  55,  54,  53,  52,  50,  49,  48,  47,
        74,  72,  69,  67,  64,  62,  59,  57,  54,  53,  52,  51,  49,  48,  47,  46,
        70,  68,  66,  64,  61,  59,  57,  55,  53,  52,  51,  49,  48,  47,  46,  45,
        66,  64,  62,  61,  59,  57,  55,  53,  52,  51,  49,  48,  47,  46,  45,  44,
        62,  60,  59,  57,  56,  55,  53,  52,  50,  49,  48,  47,  46,  45,  44,  43,
        57,  56,  55,  54,  53,  52,  51,  50,  49,  48,  47,  46,  45,  44,  43,  43,
        53,  53,  52,  51,  51,  50,  49,  49,  48,  47,  46,  45,  44,  43,  43,  42,
        49,  49,  48,  48,  48,  48,  47,  47,  47,  46,  45,  44,  43,  43,  42,  41,

        /*Size 128 x 128*/
        64,  65,  66,  67,  68,  69,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,
        65,  66,  66,  67,  68,  69,  69,  70,  71,  72,  72,  73,  74,  75,  76,  76,
        66,  66,  67,  68,  68,  69,  69,  70,  71,  71,  72,  73,  73,  74,  74,  75,
        67,  67,  68,  68,  69,  69,  70,  70,  70,  71,  71,  72,  72,  73,  73,  74,
        68,  68,  68,  69,  69,  69,  70,  70,  70,  70,  71,  71,  71,  72,  72,  72,
        69,  69,  69,  69,  69,  69,  70,  70,  70,  70,  70,  70,  71,  71,  71,  71,
        69,  69,  69,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,
        70,  70,  70,  70,  70,  70,  70,  69,  69,  69,  69,  69,  69,  69,  69,  68,
        71,  71,  71,  70,  70,  70,  70,  69,  69,  69,  69,  68,  68,  68,  67,  67,
        72,  72,  71,  71,  70,  70,  70,  69,  69,  68,  68,  68,  67,  67,  66,  66,
        73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  67,  67,  66,  66,  65,  65,
        74,  73,  73,  72,  71,  70,  70,  69,  68,  68,  67,  66,  65,  65,  64,  63,
        75,  74,  73,  72,  71,  71,  70,  69,  68,  67,  66,  65,  65,  64,  63,  62,
        76,  75,  74,  73,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  62,  61,
        77,  76,  74,  73,  72,  71,  70,  69,  67,  66,  65,  64,  63,  62,  60,  59,
        78,  76,  75,  74,  72,  71,  70,  68,  67,  66,  65,  63,  62,  61,  59,  58

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        125,  85,  80,  65,  85,  73,  69,  62,  80,  69,  56,  51,  65,  62,  51,  45,

        /*Size 8 x 8*/
        116, 141,  83,  81,  77,  70,  63,  57, 141, 101,  84,  92,  90,  83,  74,  67,
        83,  84,  74,  76,  76,  73,  68,  62,  81,  92,  76,  68,  66,  63,  60,  57,
        77,  90,  76,  66,  60,  57,  54,  52,  70,  83,  73,  63,  57,  52,  50,  48,
        63,  74,  68,  60,  54,  50,  47,  45,  57,  67,  62,  57,  52,  48,  45,  43,

        /*Size 16 x 16*/
        116, 129, 141, 112,  83,  82,  81,  79,  77,  73,  70,  66,  63,  60,  57,  57,
        129, 125, 121, 102,  84,  85,  87,  85,  83,  80,  76,  72,  69,  65,  62,  62,
        141, 121, 101,  93,  84,  88,  92,  91,  90,  86,  83,  78,  74,  71,  67,  67,
        112, 102,  93,  86,  79,  81,  84,  83,  83,  80,  78,  74,  71,  68,  65,  65,
        83,  84,  84,  79,  74,  75,  76,  76,  76,  74,  73,  70,  68,  65,  62,  62,
        82,  85,  88,  81,  75,  73,  72,  71,  71,  69,  68,  66,  64,  62,  60,  60,
        81,  87,  92,  84,  76,  72,  68,  67,  66,  64,  63,  62,  60,  59,  57,  57,
        79,  85,  91,  83,  76,  71,  67,  65,  63,  61,  60,  59,  57,  56,  54,  54,
        77,  83,  90,  83,  76,  71,  66,  63,  60,  58,  57,  55,  54,  53,  52,  52,
        73,  80,  86,  80,  74,  69,  64,  61,  58,  56,  54,  53,  52,  51,  50,  50,
        70,  76,  83,  78,  73,  68,  63,  60,  57,  54,  52,  51,  50,  49,  48,  48,
        66,  72,  78,  74,  70,  66,  62,  59,  55,  53,  51,  50,  48,  47,  46,  46,
        63,  69,  74,  71,  68,  64,  60,  57,  54,  52,  50,  48,  47,  46,  45,  45,
        60,  65,  71,  68,  65,  62,  59,  56,  53,  51,  49,  47,  46,  45,  44,  44,
        57,  62,  67,  65,  62,  60,  57,  54,  52,  50,  48,  46,  45,  44,  43,  43,
        57,  62,  67,  65,  62,  60,  57,  54,  52,  50,  48,  46,  45,  44,  43,  43,

        /*Size 32 x 32*/
        116, 122, 129, 135, 141, 126, 112,  97,  83,  82,  82,  82,  81,  80,  79,  78,
        122, 124, 127, 129, 131, 119, 107,  95,  83,  83,  84,  84,  84,  83,  82,  81,
        129, 127, 125, 123, 121, 112, 102,  93,  84,  84,  85,  86,  87,  86,  85,  84,
        135, 129, 123, 117, 111, 104,  97,  91,  84,  85,  87,  88,  89,  88,  88,  87,
        141, 131, 121, 111, 101,  97,  93,  88,  84,  86,  88,  90,  92,  91,  91,  90,
        126, 119, 112, 104,  97,  93,  89,  85,  82,  83,  85,  86,  88,  87,  87,  87,
        112, 107, 102,  97,  93,  89,  86,  82,  79,  80,  81,  83,  84,  84,  83,  83,
        97,  95,  93,  91,  88,  85,  82,  79,  76,  77,  78,  79,  80,  80,  80,  79,
        83,  83,  84,  84,  84,  82,  79,  76,  74,  74,  75,  75,  76,  76,  76,  76,
        82,  83,  84,  85,  86,  83,  80,  77,  74,  74,  74,  74,  74,  74,  74,  74,
        82,  84,  85,  87,  88,  85,  81,  78,  75,  74,  73,  73,  72,  72,  71,  71,
        82,  84,  86,  88,  90,  86,  83,  79,  75,  74,  73,  71,  70,  70,  69,  69,
        81,  84,  87,  89,  92,  88,  84,  80,  76,  74,  72,  70,  68,  68,  67,  66,
        80,  83,  86,  88,  91,  87,  84,  80,  76,  74,  72,  70,  68,  67,  66,  65,
        79,  82,  85,  88,  91,  87,  83,  80,  76,  74,  71,  69,  67,  66,  65,  64,
        78,  81,  84,  87,  90,  87,  83,  79,  76,  74,  71,  69,  66,  65,  64,  62,

        /*Size 64 x 64*/
        116, 119, 122, 125, 129, 132, 135, 138, 141, 134, 126, 119, 112, 105,  97,  90,
        119, 121, 123, 125, 128, 130, 132, 134, 136, 129, 123, 116, 109, 103,  96,  90,
        122, 123, 124, 126, 127, 128, 129, 130, 131, 125, 119, 113, 107, 101,  95,  89,
        125, 125, 126, 126, 126, 126, 126, 126, 126, 121, 115, 110, 105,  99,  94,  89,
        129, 128, 127, 126, 125, 124, 123, 122, 121, 116, 112, 107, 102,  98,  93,  88,
        132, 130, 128, 126, 124, 122, 120, 118, 116, 112, 108, 104, 100,  96,  92,  88,
        135, 132, 129, 126, 123, 120, 117, 114, 111, 108, 104, 101,  97,  94,  91,  87,
        138, 134, 130, 126, 122, 118, 114, 110, 106, 103, 101,  98,  95,  92,  90,  87,
        141, 136, 131, 126, 121, 116, 111, 106, 101,  99,  97,  95,  93,  91,  88,  86,
        134, 129, 125, 121, 116, 112, 108, 103,  99,  97,  95,  93,  91,  89,  87,  85,
        126, 123, 119, 115, 112, 108, 104, 101,  97,  95,  93,  91,  89,  87,  85,  83,
        119, 116, 113, 110, 107, 104, 101,  98,  95,  93,  91,  89,  87,  86,  84,  82,
        112, 109, 107, 105, 102, 100,  97,  95,  93,  91,  89,  87,  86,  84,  82,  81,
        105, 103, 101,  99,  98,  96,  94,  92,  91,  89,  87,  86,  84,  82,  81,  79,
        97,  96,  95,  94,  93,  92,  91,  90,  88,  87,  85,  84,  82,  81,  79,  78,
        90,  90,  89,  89,  88,  88,  87,  87,  86,  85,  83,  82,  81,  79,  78,  76,

        /*Size 128 x 128*/
        116, 118, 119, 121, 122, 124, 125, 127, 129, 130, 132, 133, 135, 136, 138, 139,
        118, 119, 120, 121, 123, 124, 125, 127, 128, 129, 131, 132, 133, 135, 136, 137,
        119, 120, 121, 122, 123, 124, 125, 127, 128, 129, 130, 131, 132, 133, 134, 135,
        121, 121, 122, 123, 124, 125, 125, 126, 127, 128, 129, 129, 130, 131, 132, 133,
        122, 123, 123, 124, 124, 125, 126, 126, 127, 127, 128, 128, 129, 129, 130, 130,
        124, 124, 124, 125, 125, 125, 126, 126, 126, 126, 127, 127, 127, 128, 128, 128,
        125, 125, 125, 125, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
        127, 127, 127, 126, 126, 126, 126, 125, 125, 125, 125, 125, 124, 124, 124, 124,
        129, 128, 128, 127, 127, 126, 126, 125, 125, 124, 124, 123, 123, 122, 122, 121,
        130, 129, 129, 128, 127, 126, 126, 125, 124, 124, 123, 122, 121, 121, 120, 119,
        132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117,
        133, 132, 131, 129, 128, 127, 126, 125, 123, 122, 121, 120, 118, 117, 116, 115,
        135, 133, 132, 130, 129, 127, 126, 124, 123, 121, 120, 118, 117, 115, 114, 112,
        136, 135, 133, 131, 129, 128, 126, 124, 122, 121, 119, 117, 115, 114, 112, 110,
        138, 136, 134, 132, 130, 128, 126, 124, 122, 120, 118, 116, 114, 112, 110, 108,
        139, 137, 135, 133, 130, 128, 126, 124, 121, 119, 117, 115, 112, 110, 108, 106

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        69,  43,  40,  32,  43,  36,  34,  30,  40,  34,  27,  24,  32,  30,  24,  21,

        /*Size 8 x 8*/
        64,  79,  45,  41,  38,  35,  31,  28,  79,  55,  42,  46,  45,  41,  37,  33,
        45,  42,  37,  38,  38,  36,  33,  31,  41,  46,  38,  34,  32,  31,  29,  28,
        38,  45,  38,  32,  29,  27,  26,  25,  35,  41,  36,  31,  27,  25,  24,  23,
        31,  37,  33,  29,  26,  24,  22,  21,  28,  33,  31,  28,  25,  23,  21,  20,

        /*Size 16 x 16*/
        64,  71,  79,  62,  45,  43,  41,  39,  38,  36,  35,  33,  31,  29,  28,  28,
        71,  69,  67,  55,  43,  43,  43,  43,  42,  40,  38,  36,  34,  32,  30,  30,
        79,  67,  55,  49,  42,  44,  46,  46,  45,  43,  41,  39,  37,  35,  33,  33,
        62,  55,  49,  44,  39,  41,  42,  42,  41,  40,  39,  37,  35,  33,  32,  32,
        45,  43,  42,  39,  37,  37,  38,  38,  38,  37,  36,  35,  33,  32,  31,  31,
        43,  43,  44,  41,  37,  36,  36,  35,  35,  34,  34,  32,  31,  30,  29,  29,
        41,  43,  46,  42,  38,  36,  34,  33,  32,  32,  31,  30,  29,  28,  28,  28,
        39,  43,  46,  42,  38,  35,  33,  32,  31,  30,  29,  28,  28,  27,  26,  26,
        38,  42,  45,  41,  38,  35,  32,  31,  29,  28,  27,  27,  26,  25,  25,  25,
        36,  40,  43,  40,  37,  34,  32,  30,  28,  27,  26,  26,  25,  24,  24,  24,
        35,  38,  41,  39,  36,  34,  31,  29,  27,  26,  25,  25,  24,  23,  23,  23,
        33,  36,  39,  37,  35,  32,  30,  28,  27,  26,  25,  24,  23,  22,  22,  22,
        31,  34,  37,  35,  33,  31,  29,  28,  26,  25,  24,  23,  22,  22,  21,  21,
        29,  32,  35,  33,  32,  30,  28,  27,  25,  24,  23,  22,  22,  21,  20,  20,
        28,  30,  33,  32,  31,  29,  28,  26,  25,  24,  23,  22,  21,  20,  20,  20,
        28,  30,  33,  32,  31,  29,  28,  26,  25,  24,  23,  22,  21,  20,  20,  20,

        /*Size 32 x 32*/
        64,  68,  71,  75,  79,  70,  62,  53,  45,  44,  43,  42,  41,  40,  39,  39,
        68,  69,  70,  72,  73,  66,  58,  51,  44,  43,  43,  42,  42,  41,  41,  40,
        71,  70,  69,  68,  67,  61,  55,  49,  43,  43,  43,  43,  43,  43,  43,  42,
        75,  72,  68,  65,  61,  57,  52,  47,  43,  43,  44,  44,  45,  44,  44,  44,
        79,  73,  67,  61,  55,  52,  49,  46,  42,  43,  44,  45,  46,  46,  46,  45,
        70,  66,  61,  57,  52,  49,  46,  44,  41,  42,  42,  43,  44,  44,  44,  43,
        62,  58,  55,  52,  49,  46,  44,  42,  39,  40,  41,  41,  42,  42,  42,  42,
        53,  51,  49,  47,  46,  44,  42,  40,  38,  38,  39,  39,  40,  40,  40,  40,
        45,  44,  43,  43,  42,  41,  39,  38,  37,  37,  37,  37,  38,  38,  38,  38,
        44,  43,  43,  43,  43,  42,  40,  38,  37,  37,  37,  37,  37,  36,  36,  36,
        43,  43,  43,  44,  44,  42,  41,  39,  37,  37,  36,  36,  36,  35,  35,  35,
        42,  42,  43,  44,  45,  43,  41,  39,  37,  37,  36,  35,  35,  34,  34,  34,
        41,  42,  43,  45,  46,  44,  42,  40,  38,  37,  36,  35,  34,  33,  33,  32,
        40,  41,  43,  44,  46,  44,  42,  40,  38,  36,  35,  34,  33,  33,  32,  32,
        39,  41,  43,  44,  46,  44,  42,  40,  38,  36,  35,  34,  33,  32,  32,  31,
        39,  40,  42,  44,  45,  43,  42,  40,  38,  36,  35,  34,  32,  32,  31,  30,

        /*Size 64 x 64*/
        64,  66,  68,  70,  71,  73,  75,  77,  79,  74,  70,  66,  62,  57,  53,  49,
        66,  67,  68,  70,  71,  72,  73,  75,  76,  72,  68,  64,  60,  56,  52,  48,
        68,  68,  69,  70,  70,  71,  72,  72,  73,  69,  66,  62,  58,  55,  51,  48,
        70,  70,  70,  70,  70,  70,  70,  70,  70,  67,  63,  60,  57,  54,  50,  47,
        71,  71,  70,  70,  69,  69,  68,  68,  67,  64,  61,  58,  55,  52,  49,  46,
        73,  72,  71,  70,  69,  67,  66,  65,  64,  61,  59,  56,  54,  51,  48,  46,
        75,  73,  72,  70,  68,  66,  65,  63,  61,  59,  57,  54,  52,  50,  47,  45,
        77,  75,  72,  70,  68,  65,  63,  61,  58,  56,  54,  52,  50,  48,  46,  44,
        79,  76,  73,  70,  67,  64,  61,  58,  55,  54,  52,  50,  49,  47,  46,  44,
        74,  72,  69,  67,  64,  61,  59,  56,  54,  52,  51,  49,  48,  46,  45,  43,
        70,  68,  66,  63,  61,  59,  57,  54,  52,  51,  49,  48,  46,  45,  44,  42,
        66,  64,  62,  60,  58,  56,  54,  52,  50,  49,  48,  47,  45,  44,  43,  41,
        62,  60,  58,  57,  55,  54,  52,  50,  49,  48,  46,  45,  44,  43,  42,  41,
        57,  56,  55,  54,  52,  51,  50,  48,  47,  46,  45,  44,  43,  42,  41,  40,
        53,  52,  51,  50,  49,  48,  47,  46,  46,  45,  44,  43,  42,  41,  40,  39,
        49,  48,  48,  47,  46,  46,  45,  44,  44,  43,  42,  41,  41,  40,  39,  38,

        /*Size 128 x 128*/
        64,  65,  66,  67,  68,  69,  70,  70,  71,  72,  73,  74,  75,  76,  77,  78,
        65,  66,  66,  67,  68,  69,  70,  70,  71,  72,  73,  73,  74,  75,  76,  77,
        66,  66,  67,  68,  68,  69,  70,  70,  71,  71,  72,  73,  73,  74,  75,  75,
        67,  67,  68,  68,  69,  69,  70,  70,  71,  71,  72,  72,  72,  73,  73,  74,
        68,  68,  68,  69,  69,  69,  70,  70,  70,  71,  71,  71,  72,  72,  72,  73,
        69,  69,  69,  69,  69,  69,  70,  70,  70,  70,  70,  71,  71,  71,  71,  71,
        70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,
        70,  70,  70,  70,  70,  70,  70,  70,  69,  69,  69,  69,  69,  69,  69,  69,
        71,  71,  71,  71,  70,  70,  70,  69,  69,  69,  69,  68,  68,  68,  68,  67,
        72,  72,  71,  71,  71,  70,  70,  69,  69,  68,  68,  68,  67,  67,  66,  66,
        73,  73,  72,  72,  71,  70,  70,  69,  69,  68,  67,  67,  66,  66,  65,  65,
        74,  73,  73,  72,  71,  71,  70,  69,  68,  68,  67,  66,  65,  65,  64,  63,
        75,  74,  73,  72,  72,  71,  70,  69,  68,  67,  66,  65,  65,  64,  63,  62,
        76,  75,  74,  73,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  62,  61,
        77,  76,  75,  73,  72,  71,  70,  69,  68,  66,  65,  64,  63,  62,  61,  59,
        78,  77,  75,  74,  73,  71,  70,  69,  67,  66,  65,  63,  62,  61,  59,  58

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        133,  86,  79,  65,  86,  73,  69,  61,  79,  69,  56,  51,  65,  61,  51,  45,

        /*Size 8 x 8*/
        124, 151,  88,  81,  76,  70,  63,  57, 151, 108,  84,  91,  89,  82,  74,  67,
        88,  84,  73,  75,  76,  72,  67,  62,  81,  91,  75,  68,  65,  63,  60,  57,
        76,  89,  76,  65,  60,  57,  54,  52,  70,  82,  72,  63,  57,  52,  50,  48,
        63,  74,  67,  60,  54,  50,  47,  45,  57,  67,  62,  57,  52,  48,  45,  43,

        /*Size 16 x 16*/
        124, 137, 151, 119,  88,  84,  81,  79,  76,  73,  70,  66,  63,  60,  57,  57,
        137, 133, 129, 107,  86,  86,  86,  84,  83,  79,  76,  72,  68,  65,  62,  62,
        151, 129, 108,  96,  84,  87,  91,  90,  89,  85,  82,  78,  74,  70,  67,  67,
        119, 107,  96,  87,  78,  81,  83,  83,  82,  80,  77,  74,  71,  67,  64,  64,
        88,  86,  84,  78,  73,  74,  75,  75,  76,  74,  72,  70,  67,  65,  62,  62,
        84,  86,  87,  81,  74,  73,  72,  71,  70,  69,  68,  66,  64,  61,  59,  59,
        81,  86,  91,  83,  75,  72,  68,  67,  65,  64,  63,  62,  60,  58,  57,  57,
        79,  84,  90,  83,  75,  71,  67,  64,  62,  61,  60,  58,  57,  56,  54,  54,
        76,  83,  89,  82,  76,  70,  65,  62,  60,  58,  57,  55,  54,  53,  52,  52,
        73,  79,  85,  80,  74,  69,  64,  61,  58,  56,  54,  53,  52,  51,  50,  50,
        70,  76,  82,  77,  72,  68,  63,  60,  57,  54,  52,  51,  50,  49,  48,  48,
        66,  72,  78,  74,  70,  66,  62,  58,  55,  53,  51,  50,  48,  47,  46,  46,
        63,  68,  74,  71,  67,  64,  60,  57,  54,  52,  50,  48,  47,  46,  45,  45,
        60,  65,  70,  67,  65,  61,  58,  56,  53,  51,  49,  47,  46,  45,  44,  44,
        57,  62,  67,  64,  62,  59,  57,  54,  52,  50,  48,  46,  45,  44,  43,  43,
        57,  62,  67,  64,  62,  59,  57,  54,  52,  50,  48,  46,  45,  44,  43,  43,

        /*Size 32 x 32*/
        124, 130, 137, 144, 151, 135, 119, 104,  88,  86,  84,  83,  81,  80,  79,  77,
        130, 133, 135, 138, 140, 127, 113, 100,  87,  86,  85,  84,  83,  82,  81,  80,
        137, 135, 133, 131, 129, 118, 107,  97,  86,  86,  86,  86,  86,  85,  84,  83,
        144, 138, 131, 125, 118, 110, 101,  93,  85,  86,  87,  87,  88,  88,  87,  86,
        151, 140, 129, 118, 108, 102,  96,  90,  84,  85,  87,  89,  91,  90,  90,  89,
        135, 127, 118, 110, 102,  96,  91,  86,  81,  82,  84,  86,  87,  87,  86,  86,
        119, 113, 107, 101,  96,  91,  87,  83,  78,  79,  81,  82,  83,  83,  83,  82,
        104, 100,  97,  93,  90,  86,  83,  79,  76,  77,  77,  78,  79,  79,  79,  79,
        88,  87,  86,  85,  84,  81,  78,  76,  73,  74,  74,  75,  75,  75,  75,  75,
        86,  86,  86,  86,  85,  82,  79,  77,  74,  74,  73,  73,  73,  73,  73,  73,
        84,  85,  86,  87,  87,  84,  81,  77,  74,  73,  73,  72,  72,  71,  71,  71,
        83,  84,  86,  87,  89,  86,  82,  78,  75,  73,  72,  71,  70,  69,  69,  68,
        81,  83,  86,  88,  91,  87,  83,  79,  75,  73,  72,  70,  68,  67,  67,  66,
        80,  82,  85,  88,  90,  87,  83,  79,  75,  73,  71,  69,  67,  66,  65,  65,
        79,  81,  84,  87,  90,  86,  83,  79,  75,  73,  71,  69,  67,  65,  64,  63,
        77,  80,  83,  86,  89,  86,  82,  79,  75,  73,  71,  68,  66,  65,  63,  62,

        /*Size 64 x 64*/
        124, 127, 130, 134, 137, 141, 144, 147, 151, 143, 135, 127, 119, 111, 104,  96,
        127, 129, 132, 134, 136, 138, 141, 143, 145, 138, 131, 124, 116, 109, 102,  94,
        130, 132, 133, 134, 135, 136, 138, 139, 140, 133, 127, 120, 113, 107, 100,  93,
        134, 134, 134, 134, 134, 134, 134, 134, 135, 128, 122, 116, 110, 104,  98,  92,
        137, 136, 135, 134, 133, 132, 131, 130, 129, 124, 118, 113, 107, 102,  97,  91,
        141, 138, 136, 134, 132, 130, 128, 126, 124, 119, 114, 109, 104, 100,  95,  90,
        144, 141, 138, 134, 131, 128, 125, 122, 118, 114, 110, 106, 101,  97,  93,  89,
        147, 143, 139, 134, 130, 126, 122, 117, 113, 109, 106, 102,  98,  95,  91,  88,
        151, 145, 140, 135, 129, 124, 118, 113, 108, 105, 102,  99,  96,  93,  90,  87,
        143, 138, 133, 128, 124, 119, 114, 109, 105, 102,  99,  96,  93,  91,  88,  85,
        135, 131, 127, 122, 118, 114, 110, 106, 102,  99,  96,  94,  91,  89,  86,  83,
        127, 124, 120, 116, 113, 109, 106, 102,  99,  96,  94,  91,  89,  87,  84,  82,
        119, 116, 113, 110, 107, 104, 101,  98,  96,  93,  91,  89,  87,  85,  83,  80,
        111, 109, 107, 104, 102, 100,  97,  95,  93,  91,  89,  87,  85,  83,  81,  79,
        104, 102, 100,  98,  97,  95,  93,  91,  90,  88,  86,  84,  83,  81,  79,  77,
        96,  94,  93,  92,  91,  90,  89,  88,  87,  85,  83,  82,  80,  79,  77,  76,

        /*Size 128 x 128*/
        124, 125, 127, 129, 130, 132, 134, 135, 137, 139, 141, 142, 144, 146, 147, 149,
        125, 127, 128, 129, 131, 132, 134, 135, 137, 138, 139, 141, 142, 144, 145, 147,
        127, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 140, 141, 142, 143, 144,
        129, 129, 130, 131, 132, 133, 134, 135, 136, 137, 137, 138, 139, 140, 141, 142,
        130, 131, 132, 132, 133, 133, 134, 135, 135, 136, 136, 137, 138, 138, 139, 139,
        132, 132, 133, 133, 133, 134, 134, 134, 135, 135, 135, 136, 136, 136, 137, 137,
        134, 134, 134, 134, 134, 134, 134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
        135, 135, 135, 135, 135, 134, 134, 134, 134, 133, 133, 133, 133, 133, 132, 132,
        137, 137, 136, 136, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 130, 130,
        139, 138, 137, 137, 136, 135, 134, 133, 133, 132, 131, 130, 130, 129, 128, 127,
        141, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125,
        142, 141, 140, 138, 137, 136, 134, 133, 132, 130, 129, 128, 126, 125, 124, 122,
        144, 142, 141, 139, 138, 136, 134, 133, 131, 130, 128, 126, 125, 123, 122, 120,
        146, 144, 142, 140, 138, 136, 134, 133, 131, 129, 127, 125, 123, 121, 119, 117,
        147, 145, 143, 141, 139, 137, 134, 132, 130, 128, 126, 124, 122, 119, 117, 115,
        149, 147, 144, 142, 139, 137, 134, 132, 130, 127, 125, 122, 120, 117, 115, 113

      }
    }
  },
  {
    /* QM level 5*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        74,  69,  48,  37,  69,  51,  42,  35,  48,  42,  35,  31,  37,  35,  31,  29,

        /*Size 8 x 8*/
        64,  80,  75,  61,  50,  42,  37,  34,  80,  72,  74,  66,  55,  47,  41,  36,
        75,  74,  58,  52,  47,  42,  38,  35,  61,  66,  52,  44,  40,  38,  35,  33,
        50,  55,  47,  40,  37,  35,  33,  32,  42,  47,  42,  38,  35,  33,  31,  30,
        37,  41,  38,  35,  33,  31,  30,  29,  34,  36,  35,  33,  32,  30,  29,  29,

        /*Size 16 x 16*/
        64,  72,  80,  77,  75,  68,  61,  55,  50,  46,  42,  40,  37,  35,  34,  34,
        72,  74,  76,  75,  75,  69,  63,  58,  52,  48,  44,  42,  39,  37,  35,  35,
        80,  76,  72,  73,  74,  70,  66,  60,  55,  51,  47,  44,  41,  38,  36,  36,
        77,  75,  73,  69,  66,  62,  59,  55,  51,  47,  44,  42,  39,  37,  36,  36,
        75,  75,  74,  66,  58,  55,  52,  49,  47,  44,  42,  40,  38,  36,  35,  35,
        68,  69,  70,  62,  55,  51,  48,  46,  43,  42,  40,  38,  36,  35,  34,  34,
        61,  63,  66,  59,  52,  48,  44,  42,  40,  39,  38,  36,  35,  34,  33,  33,
        55,  58,  60,  55,  49,  46,  42,  40,  39,  37,  36,  35,  34,  33,  32,  32,
        50,  52,  55,  51,  47,  43,  40,  39,  37,  36,  35,  34,  33,  32,  32,  32,
        46,  48,  51,  47,  44,  42,  39,  37,  36,  35,  34,  33,  32,  31,  31,  31,
        42,  44,  47,  44,  42,  40,  38,  36,  35,  34,  33,  32,  31,  31,  30,  30,
        40,  42,  44,  42,  40,  38,  36,  35,  34,  33,  32,  31,  31,  30,  30,  30,
        37,  39,  41,  39,  38,  36,  35,  34,  33,  32,  31,  31,  30,  30,  29,  29,
        35,  37,  38,  37,  36,  35,  34,  33,  32,  31,  31,  30,  30,  29,  29,  29,
        34,  35,  36,  36,  35,  34,  33,  32,  32,  31,  30,  30,  29,  29,  29,  29,
        34,  35,  36,  36,  35,  34,  33,  32,  32,  31,  30,  30,  29,  29,  29,  29,

        /*Size 32 x 32*/
        64,  68,  72,  76,  80,  79,  77,  76,  75,  71,  68,  64,  61,  58,  55,  52,
        68,  70,  73,  75,  78,  77,  76,  75,  75,  72,  68,  65,  62,  59,  56,  54,
        72,  73,  74,  75,  76,  75,  75,  75,  75,  72,  69,  66,  63,  60,  58,  55,
        76,  75,  75,  74,  74,  74,  74,  74,  74,  72,  69,  67,  64,  62,  59,  56,
        80,  78,  76,  74,  72,  72,  73,  73,  74,  72,  70,  68,  66,  63,  60,  58,
        79,  77,  75,  74,  72,  72,  71,  70,  70,  68,  66,  64,  62,  60,  57,  55,
        77,  76,  75,  74,  73,  71,  69,  68,  66,  64,  62,  60,  59,  57,  55,  53,
        76,  75,  75,  74,  73,  70,  68,  65,  62,  60,  58,  57,  55,  54,  52,  50,
        75,  75,  75,  74,  74,  70,  66,  62,  58,  56,  55,  53,  52,  50,  49,  48,
        71,  72,  72,  72,  72,  68,  64,  60,  56,  55,  53,  51,  50,  49,  47,  46,
        68,  68,  69,  69,  70,  66,  62,  58,  55,  53,  51,  50,  48,  47,  46,  45,
        64,  65,  66,  67,  68,  64,  60,  57,  53,  51,  50,  48,  46,  45,  44,  43,
        61,  62,  63,  64,  66,  62,  59,  55,  52,  50,  48,  46,  44,  43,  42,  41,
        58,  59,  60,  62,  63,  60,  57,  54,  50,  49,  47,  45,  43,  42,  41,  40,
        55,  56,  58,  59,  60,  57,  55,  52,  49,  47,  46,  44,  42,  41,  40,  39,
        52,  54,  55,  56,  58,  55,  53,  50,  48,  46,  45,  43,  41,  40,  39,  39,

        /*Size 64 x 64*/
        64,  66,  68,  70,  72,  74,  76,  78,  80,  79,  79,  78,  77,  77,  76,  76,
        66,  68,  69,  71,  72,  74,  76,  77,  79,  78,  78,  77,  77,  76,  76,  75,
        68,  69,  70,  72,  73,  74,  75,  76,  78,  77,  77,  77,  76,  76,  75,  75,
        70,  71,  72,  72,  73,  74,  75,  76,  77,  76,  76,  76,  76,  75,  75,  75,
        72,  72,  73,  73,  74,  74,  75,  75,  76,  75,  75,  75,  75,  75,  75,  75,
        74,  74,  74,  74,  74,  74,  74,  75,  75,  75,  75,  75,  74,  74,  74,  74,
        76,  76,  75,  75,  75,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        78,  77,  76,  76,  75,  75,  74,  73,  73,  73,  73,  73,  73,  74,  74,  74,
        80,  79,  78,  77,  76,  75,  74,  73,  72,  72,  72,  72,  73,  73,  73,  74,
        79,  78,  77,  76,  75,  75,  74,  73,  72,  72,  72,  72,  72,  72,  72,  72,
        79,  78,  77,  76,  75,  75,  74,  73,  72,  72,  72,  71,  71,  71,  70,  70,
        78,  77,  77,  76,  75,  75,  74,  73,  72,  72,  71,  71,  70,  70,  69,  68,
        77,  77,  76,  76,  75,  74,  74,  73,  73,  72,  71,  70,  69,  68,  68,  67,
        77,  76,  76,  75,  75,  74,  74,  74,  73,  72,  71,  70,  68,  67,  66,  65,
        76,  76,  75,  75,  75,  74,  74,  74,  73,  72,  70,  69,  68,  66,  65,  63,
        76,  75,  75,  75,  75,  74,  74,  74,  74,  72,  70,  68,  67,  65,  63,  61,

        /*Size 128 x 128*/
        64,  65,  66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,
        65,  66,  67,  68,  69,  69,  70,  71,  72,  73,  74,  75,  76,  77,  77,  78,
        66,  67,  68,  68,  69,  70,  71,  72,  72,  73,  74,  75,  76,  76,  77,  78,
        67,  68,  68,  69,  70,  70,  71,  72,  73,  73,  74,  75,  75,  76,  77,  78,
        68,  69,  69,  70,  70,  71,  72,  72,  73,  73,  74,  75,  75,  76,  76,  77,
        69,  69,  70,  70,  71,  72,  72,  73,  73,  74,  74,  75,  75,  76,  76,  77,
        70,  70,  71,  71,  72,  72,  72,  73,  73,  74,  74,  75,  75,  75,  76,  76,
        71,  71,  72,  72,  72,  73,  73,  73,  74,  74,  74,  75,  75,  75,  75,  76,
        72,  72,  72,  73,  73,  73,  73,  74,  74,  74,  74,  74,  75,  75,  75,  75,
        73,  73,  73,  73,  73,  74,  74,  74,  74,  74,  74,  74,  75,  75,  75,  75,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  75,  75,
        75,  75,  75,  75,  75,  75,  75,  75,  74,  74,  74,  74,  74,  74,  74,  74,
        76,  76,  76,  75,  75,  75,  75,  75,  75,  75,  74,  74,  74,  74,  74,  74,
        77,  77,  76,  76,  76,  76,  75,  75,  75,  75,  74,  74,  74,  74,  74,  73,
        78,  77,  77,  77,  76,  76,  76,  75,  75,  75,  75,  74,  74,  74,  73,  73,
        79,  78,  78,  78,  77,  77,  76,  76,  75,  75,  75,  74,  74,  73,  73,  72

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        148, 136,  88,  61, 136,  95,  72,  57,  88,  72,  55,  48,  61,  57,  48,  43,

        /*Size 8 x 8*/
        125, 162, 151, 117,  91,  73,  61,  53, 162, 143, 149, 129, 103,  83,  69,  60,
        151, 149, 110,  96,  84,  72,  63,  56, 117, 129,  96,  78,  69,  62,  56,  52,
        91, 103,  84,  69,  60,  55,  51,  48,  73,  83,  72,  62,  55,  50,  47,  45,
        61,  69,  63,  56,  51,  47,  45,  43,  53,  60,  56,  52,  48,  45,  43,  41,

        /*Size 16 x 16*/
        125, 144, 162, 156, 151, 134, 117, 104,  91,  82,  73,  67,  61,  57,  53,  53,
        144, 148, 152, 151, 150, 136, 123, 110,  97,  88,  78,  72,  65,  61,  56,  56,
        162, 152, 143, 146, 149, 139, 129, 116, 103,  93,  83,  76,  69,  64,  60,  60,
        156, 151, 146, 137, 129, 121, 112, 103,  94,  86,  78,  72,  66,  62,  58,  58,
        151, 150, 149, 129, 110, 103,  96,  90,  84,  78,  72,  68,  63,  59,  56,  56,
        134, 136, 139, 121, 103,  95,  87,  82,  76,  72,  67,  63,  60,  57,  54,  54,
        117, 123, 129, 112,  96,  87,  78,  73,  69,  65,  62,  59,  56,  54,  52,  52,
        104, 110, 116, 103,  90,  82,  73,  69,  64,  61,  58,  56,  54,  52,  50,  50,
        91,  97, 103,  94,  84,  76,  69,  64,  60,  57,  55,  53,  51,  49,  48,  48,
        82,  88,  93,  86,  78,  72,  65,  61,  57,  55,  53,  51,  49,  48,  46,  46,
        73,  78,  83,  78,  72,  67,  62,  58,  55,  53,  50,  49,  47,  46,  45,  45,
        67,  72,  76,  72,  68,  63,  59,  56,  53,  51,  49,  47,  46,  45,  44,  44,
        61,  65,  69,  66,  63,  60,  56,  54,  51,  49,  47,  46,  45,  44,  43,  43,
        57,  61,  64,  62,  59,  57,  54,  52,  49,  48,  46,  45,  44,  43,  42,  42,
        53,  56,  60,  58,  56,  54,  52,  50,  48,  46,  45,  44,  43,  42,  41,  41,
        53,  56,  60,  58,  56,  54,  52,  50,  48,  46,  45,  44,  43,  42,  41,  41,

        /*Size 32 x 32*/
        125, 134, 144, 153, 162, 159, 156, 154, 151, 142, 134, 126, 117, 111, 104,  97,
        134, 140, 146, 151, 157, 155, 154, 152, 150, 143, 135, 128, 120, 114, 107, 100,
        144, 146, 148, 150, 152, 152, 151, 150, 150, 143, 136, 130, 123, 117, 110, 104,
        153, 151, 150, 149, 148, 148, 148, 149, 149, 143, 137, 132, 126, 119, 113, 107,
        162, 157, 152, 148, 143, 144, 146, 147, 149, 144, 139, 134, 129, 122, 116, 110,
        159, 155, 152, 148, 144, 143, 141, 140, 139, 134, 130, 125, 121, 115, 109, 104,
        156, 154, 151, 148, 146, 141, 137, 133, 129, 125, 121, 116, 112, 108, 103,  98,
        154, 152, 150, 149, 147, 140, 133, 126, 119, 115, 112, 108, 104, 100,  96,  92,
        151, 150, 150, 149, 149, 139, 129, 119, 110, 106, 103,  99,  96,  93,  90,  87,
        142, 143, 143, 143, 144, 134, 125, 115, 106, 102,  99,  95,  91,  88,  86,  83,
        134, 135, 136, 137, 139, 130, 121, 112, 103,  99,  95,  91,  87,  84,  82,  79,
        126, 128, 130, 132, 134, 125, 116, 108,  99,  95,  91,  87,  82,  80,  77,  75,
        117, 120, 123, 126, 129, 121, 112, 104,  96,  91,  87,  82,  78,  76,  73,  71,
        111, 114, 117, 119, 122, 115, 108, 100,  93,  88,  84,  80,  76,  73,  71,  69,
        104, 107, 110, 113, 116, 109, 103,  96,  90,  86,  82,  77,  73,  71,  69,  67,
        97, 100, 104, 107, 110, 104,  98,  92,  87,  83,  79,  75,  71,  69,  67,  64,

        /*Size 64 x 64*/
        125, 130, 134, 139, 144, 148, 153, 157, 162, 161, 159, 158, 156, 155, 154, 152,
        130, 133, 137, 141, 145, 148, 152, 156, 160, 158, 157, 156, 155, 154, 153, 152,
        134, 137, 140, 143, 146, 149, 151, 154, 157, 156, 155, 155, 154, 153, 152, 151,
        139, 141, 143, 145, 147, 149, 151, 153, 155, 154, 154, 153, 152, 152, 151, 151,
        144, 145, 146, 147, 148, 149, 150, 151, 152, 152, 152, 151, 151, 151, 150, 150,
        148, 148, 149, 149, 149, 149, 150, 150, 150, 150, 150, 150, 150, 150, 150, 149,
        153, 152, 151, 151, 150, 150, 149, 148, 148, 148, 148, 148, 148, 149, 149, 149,
        157, 156, 154, 153, 151, 150, 148, 147, 145, 146, 146, 147, 147, 147, 148, 148,
        162, 160, 157, 155, 152, 150, 148, 145, 143, 143, 144, 145, 146, 146, 147, 148,
        161, 158, 156, 154, 152, 150, 148, 146, 143, 143, 144, 144, 144, 144, 144, 144,
        159, 157, 155, 154, 152, 150, 148, 146, 144, 144, 143, 142, 141, 141, 140, 139,
        158, 156, 155, 153, 151, 150, 148, 147, 145, 144, 142, 141, 139, 138, 137, 135,
        156, 155, 154, 152, 151, 150, 148, 147, 146, 144, 141, 139, 137, 135, 133, 131,
        155, 154, 153, 152, 151, 150, 149, 147, 146, 144, 141, 138, 135, 132, 130, 127,
        154, 153, 152, 151, 150, 150, 149, 148, 147, 144, 140, 137, 133, 130, 126, 123,
        152, 152, 151, 151, 150, 149, 149, 148, 148, 144, 139, 135, 131, 127, 123, 119,

        /*Size 128 x 128*/
        125, 127, 130, 132, 134, 137, 139, 141, 144, 146, 148, 150, 153, 155, 157, 160,
        127, 129, 131, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 155, 157, 159,
        130, 131, 133, 135, 137, 139, 141, 143, 145, 146, 148, 150, 152, 154, 156, 158,
        132, 134, 135, 137, 139, 140, 142, 144, 145, 147, 148, 150, 152, 153, 155, 157,
        134, 136, 137, 139, 140, 141, 143, 144, 146, 147, 149, 150, 151, 153, 154, 156,
        137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 149, 150, 151, 152, 154, 155,
        139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
        141, 142, 143, 144, 144, 145, 146, 147, 147, 148, 149, 150, 150, 151, 152, 153,
        144, 144, 145, 145, 146, 146, 147, 147, 148, 148, 149, 150, 150, 151, 151, 152,
        146, 146, 146, 147, 147, 147, 148, 148, 148, 149, 149, 149, 150, 150, 151, 151,
        148, 148, 148, 148, 149, 149, 149, 149, 149, 149, 149, 149, 150, 150, 150, 150,
        150, 150, 150, 150, 150, 150, 150, 150, 150, 149, 149, 149, 149, 149, 149, 149,
        153, 152, 152, 152, 151, 151, 151, 150, 150, 150, 150, 149, 149, 149, 148, 148,
        155, 155, 154, 153, 153, 152, 152, 151, 151, 150, 150, 149, 149, 148, 147, 147,
        157, 157, 156, 155, 154, 154, 153, 152, 151, 151, 150, 149, 148, 147, 147, 146,
        160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        69,  48,  45,  38,  48,  42,  40,  36,  45,  40,  33,  30,  38,  36,  30,  27,

        /*Size 8 x 8*/
        64,  77,  47,  46,  44,  40,  37,  34,  77,  56,  48,  52,  50,  47,  43,  39,
        47,  48,  42,  43,  43,  42,  39,  36,  46,  52,  43,  39,  38,  37,  35,  33,
        44,  50,  43,  38,  35,  33,  32,  31,  40,  47,  42,  37,  33,  31,  30,  29,
        37,  43,  39,  35,  32,  30,  28,  27,  34,  39,  36,  33,  31,  29,  27,  26,

        /*Size 16 x 16*/
        64,  71,  77,  62,  47,  46,  46,  45,  44,  42,  40,  38,  37,  35,  34,  34,
        71,  69,  67,  57,  47,  48,  49,  48,  47,  45,  43,  41,  40,  38,  36,  36,
        77,  67,  56,  52,  48,  50,  52,  51,  50,  48,  47,  45,  43,  41,  39,  39,
        62,  57,  52,  48,  45,  46,  47,  47,  47,  45,  44,  42,  41,  39,  37,  37,
        47,  47,  48,  45,  42,  43,  43,  43,  43,  42,  42,  40,  39,  38,  36,  36,
        46,  48,  50,  46,  43,  42,  41,  41,  41,  40,  39,  38,  37,  36,  35,  35,
        46,  49,  52,  47,  43,  41,  39,  39,  38,  37,  37,  36,  35,  34,  33,  33,
        45,  48,  51,  47,  43,  41,  39,  37,  36,  36,  35,  34,  33,  33,  32,  32,
        44,  47,  50,  47,  43,  41,  38,  36,  35,  34,  33,  33,  32,  31,  31,  31,
        42,  45,  48,  45,  42,  40,  37,  36,  34,  33,  32,  31,  31,  30,  30,  30,
        40,  43,  47,  44,  42,  39,  37,  35,  33,  32,  31,  30,  30,  29,  29,  29,
        38,  41,  45,  42,  40,  38,  36,  34,  33,  31,  30,  30,  29,  28,  28,  28,
        37,  40,  43,  41,  39,  37,  35,  33,  32,  31,  30,  29,  28,  28,  27,  27,
        35,  38,  41,  39,  38,  36,  34,  33,  31,  30,  29,  28,  28,  27,  26,  26,
        34,  36,  39,  37,  36,  35,  33,  32,  31,  30,  29,  28,  27,  26,  26,  26,
        34,  36,  39,  37,  36,  35,  33,  32,  31,  30,  29,  28,  27,  26,  26,  26,

        /*Size 32 x 32*/
        64,  67,  71,  74,  77,  69,  62,  54,  47,  47,  46,  46,  46,  45,  45,  44,
        67,  68,  70,  71,  72,  66,  59,  53,  47,  47,  47,  47,  47,  47,  46,  46,
        71,  70,  69,  68,  67,  62,  57,  52,  47,  48,  48,  48,  49,  48,  48,  47,
        74,  71,  68,  65,  61,  58,  54,  51,  47,  48,  49,  49,  50,  50,  49,  49,
        77,  72,  67,  61,  56,  54,  52,  50,  48,  49,  50,  51,  52,  51,  51,  51,
        69,  66,  62,  58,  54,  52,  50,  48,  46,  47,  48,  49,  49,  49,  49,  49,
        62,  59,  57,  54,  52,  50,  48,  47,  45,  45,  46,  47,  47,  47,  47,  47,
        54,  53,  52,  51,  50,  48,  47,  45,  43,  44,  44,  45,  45,  45,  45,  45,
        47,  47,  47,  47,  48,  46,  45,  43,  42,  42,  43,  43,  43,  43,  43,  43,
        47,  47,  48,  48,  49,  47,  45,  44,  42,  42,  42,  42,  42,  42,  42,  42,
        46,  47,  48,  49,  50,  48,  46,  44,  43,  42,  42,  41,  41,  41,  41,  41,
        46,  47,  48,  49,  51,  49,  47,  45,  43,  42,  41,  41,  40,  40,  40,  39,
        46,  47,  49,  50,  52,  49,  47,  45,  43,  42,  41,  40,  39,  39,  39,  38,
        45,  47,  48,  50,  51,  49,  47,  45,  43,  42,  41,  40,  39,  38,  38,  37,
        45,  46,  48,  49,  51,  49,  47,  45,  43,  42,  41,  40,  39,  38,  37,  37,
        44,  46,  47,  49,  51,  49,  47,  45,  43,  42,  41,  39,  38,  37,  37,  36,

        /*Size 64 x 64*/
        64,  66,  67,  69,  71,  72,  74,  75,  77,  73,  69,  66,  62,  58,  54,  51,
        66,  67,  68,  69,  70,  71,  72,  73,  74,  71,  68,  64,  61,  57,  54,  50,
        67,  68,  68,  69,  70,  70,  71,  71,  72,  69,  66,  62,  59,  56,  53,  50,
        69,  69,  69,  69,  69,  69,  69,  69,  69,  66,  64,  61,  58,  55,  53,  50,
        71,  70,  70,  69,  69,  68,  68,  67,  67,  64,  62,  59,  57,  54,  52,  50,
        72,  71,  70,  69,  68,  67,  66,  65,  64,  62,  60,  58,  56,  54,  51,  49,
        74,  72,  71,  69,  68,  66,  65,  63,  61,  60,  58,  56,  54,  53,  51,  49,
        75,  73,  71,  69,  67,  65,  63,  61,  59,  57,  56,  55,  53,  52,  50,  49,
        77,  74,  72,  69,  67,  64,  61,  59,  56,  55,  54,  53,  52,  51,  50,  49,
        73,  71,  69,  66,  64,  62,  60,  57,  55,  54,  53,  52,  51,  50,  49,  48,
        69,  68,  66,  64,  62,  60,  58,  56,  54,  53,  52,  51,  50,  49,  48,  47,
        66,  64,  62,  61,  59,  58,  56,  55,  53,  52,  51,  50,  49,  48,  47,  46,
        62,  61,  59,  58,  57,  56,  54,  53,  52,  51,  50,  49,  48,  47,  47,  46,
        58,  57,  56,  55,  54,  54,  53,  52,  51,  50,  49,  48,  47,  47,  46,  45,
        54,  54,  53,  53,  52,  51,  51,  50,  50,  49,  48,  47,  47,  46,  45,  44,
        51,  50,  50,  50,  50,  49,  49,  49,  49,  48,  47,  46,  46,  45,  44,  43,

        /*Size 128 x 128*/
        64,  65,  66,  66,  67,  68,  69,  70,  71,  71,  72,  73,  74,  75,  75,  76,
        65,  65,  66,  67,  68,  68,  69,  70,  70,  71,  72,  72,  73,  74,  74,  75,
        66,  66,  67,  67,  68,  68,  69,  69,  70,  71,  71,  72,  72,  73,  73,  74,
        66,  67,  67,  68,  68,  69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  73,
        67,  68,  68,  68,  68,  69,  69,  69,  70,  70,  70,  70,  71,  71,  71,  72,
        68,  68,  68,  69,  69,  69,  69,  69,  69,  69,  70,  70,  70,  70,  70,  70,
        69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,
        70,  70,  69,  69,  69,  69,  69,  69,  69,  69,  69,  68,  68,  68,  68,  68,
        71,  70,  70,  70,  70,  69,  69,  69,  69,  68,  68,  68,  68,  67,  67,  67,
        71,  71,  71,  70,  70,  69,  69,  69,  68,  68,  68,  67,  67,  66,  66,  66,
        72,  72,  71,  71,  70,  70,  69,  69,  68,  68,  67,  67,  66,  66,  65,  65,
        73,  72,  72,  71,  70,  70,  69,  68,  68,  67,  67,  66,  65,  65,  64,  63,
        74,  73,  72,  71,  71,  70,  69,  68,  68,  67,  66,  65,  65,  64,  63,  62,
        75,  74,  73,  72,  71,  70,  69,  68,  67,  66,  66,  65,  64,  63,  62,  61,
        75,  74,  73,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  62,  61,  60,
        76,  75,  74,  73,  72,  70,  69,  68,  67,  66,  65,  63,  62,  61,  60,  59

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        111,  80,  75,  64,  80,  70,  67,  61,  75,  67,  57,  53,  64,  61,  53,  48,

        /*Size 8 x 8*/
        104, 124,  78,  77,  73,  68,  62,  58, 124,  92,  79,  85,  83,  78,  71,  65,
        78,  79,  71,  72,  73,  70,  66,  62,  77,  85,  72,  67,  64,  63,  60,  58,
        73,  83,  73,  64,  60,  57,  55,  54,  68,  78,  70,  63,  57,  54,  52,  50,
        62,  71,  66,  60,  55,  52,  50,  48,  58,  65,  62,  58,  54,  50,  48,  46,

        /*Size 16 x 16*/
        104, 114, 124, 101,  78,  77,  77,  75,  73,  71,  68,  65,  62,  60,  58,  58,
        114, 111, 108,  93,  79,  80,  81,  80,  78,  75,  73,  70,  67,  64,  62,  62,
        124, 108,  92,  86,  79,  82,  85,  84,  83,  80,  78,  74,  71,  68,  65,  65,
        101,  93,  86,  80,  75,  77,  79,  78,  78,  76,  74,  71,  69,  66,  64,  64,
        78,  79,  79,  75,  71,  71,  72,  72,  73,  71,  70,  68,  66,  64,  62,  62,
        77,  80,  82,  77,  71,  70,  69,  69,  68,  67,  66,  65,  63,  61,  60,  60,
        77,  81,  85,  79,  72,  69,  67,  65,  64,  63,  63,  61,  60,  59,  58,  58,
        75,  80,  84,  78,  72,  69,  65,  64,  62,  61,  60,  59,  58,  57,  56,  56,
        73,  78,  83,  78,  73,  68,  64,  62,  60,  59,  57,  56,  55,  54,  54,  54,
        71,  75,  80,  76,  71,  67,  63,  61,  59,  57,  56,  55,  54,  53,  52,  52,
        68,  73,  78,  74,  70,  66,  63,  60,  57,  56,  54,  53,  52,  51,  50,  50,
        65,  70,  74,  71,  68,  65,  61,  59,  56,  55,  53,  52,  51,  50,  49,  49,
        62,  67,  71,  69,  66,  63,  60,  58,  55,  54,  52,  51,  50,  49,  48,  48,
        60,  64,  68,  66,  64,  61,  59,  57,  54,  53,  51,  50,  49,  48,  47,  47,
        58,  62,  65,  64,  62,  60,  58,  56,  54,  52,  50,  49,  48,  47,  46,  46,
        58,  62,  65,  64,  62,  60,  58,  56,  54,  52,  50,  49,  48,  47,  46,  46,

        /*Size 32 x 32*/
        104, 109, 114, 119, 124, 112, 101,  89,  78,  78,  77,  77,  77,  76,  75,  74,
        109, 111, 112, 114, 116, 106,  97,  88,  78,  78,  79,  79,  79,  78,  77,  77,
        114, 112, 111, 109, 108, 101,  93,  86,  79,  79,  80,  80,  81,  80,  80,  79,
        119, 114, 109, 105, 100,  95,  89,  84,  79,  80,  81,  82,  83,  82,  82,  81,
        124, 116, 108, 100,  92,  89,  86,  82,  79,  81,  82,  84,  85,  85,  84,  84,
        112, 106, 101,  95,  89,  86,  83,  80,  77,  78,  79,  81,  82,  82,  81,  81,
        101,  97,  93,  89,  86,  83,  80,  77,  75,  76,  77,  78,  79,  78,  78,  78,
        89,  88,  86,  84,  82,  80,  77,  75,  73,  73,  74,  75,  75,  75,  75,  75,
        78,  78,  79,  79,  79,  77,  75,  73,  71,  71,  71,  72,  72,  72,  72,  72,
        78,  78,  79,  80,  81,  78,  76,  73,  71,  71,  71,  71,  71,  71,  71,  71,
        77,  79,  80,  81,  82,  79,  77,  74,  71,  71,  70,  70,  69,  69,  69,  69,
        77,  79,  80,  82,  84,  81,  78,  75,  72,  71,  70,  69,  68,  68,  67,  67,
        77,  79,  81,  83,  85,  82,  79,  75,  72,  71,  69,  68,  67,  66,  65,  65,
        76,  78,  80,  82,  85,  82,  78,  75,  72,  71,  69,  68,  66,  65,  65,  64,
        75,  77,  80,  82,  84,  81,  78,  75,  72,  71,  69,  67,  65,  65,  64,  63,
        74,  77,  79,  81,  84,  81,  78,  75,  72,  71,  69,  67,  65,  64,  63,  62,

        /*Size 64 x 64*/
        104, 106, 109, 111, 114, 116, 119, 121, 124, 118, 112, 106, 101,  95,  89,  84,
        106, 108, 110, 111, 113, 115, 116, 118, 120, 114, 109, 104,  99,  94,  88,  83,
        109, 110, 111, 111, 112, 113, 114, 115, 116, 111, 106, 102,  97,  92,  88,  83,
        111, 111, 111, 111, 112, 112, 112, 112, 112, 108, 103,  99,  95,  91,  87,  83,
        114, 113, 112, 112, 111, 110, 109, 109, 108, 104, 101,  97,  93,  90,  86,  82,
        116, 115, 113, 112, 110, 109, 107, 105, 104, 101,  98,  94,  91,  88,  85,  82,
        119, 116, 114, 112, 109, 107, 105, 102, 100,  97,  95,  92,  89,  87,  84,  81,
        121, 118, 115, 112, 109, 105, 102,  99,  96,  94,  92,  90,  88,  85,  83,  81,
        124, 120, 116, 112, 108, 104, 100,  96,  92,  91,  89,  87,  86,  84,  82,  81,
        118, 114, 111, 108, 104, 101,  97,  94,  91,  89,  87,  86,  84,  83,  81,  80,
        112, 109, 106, 103, 101,  98,  95,  92,  89,  87,  86,  84,  83,  81,  80,  78,
        106, 104, 102,  99,  97,  94,  92,  90,  87,  86,  84,  83,  82,  80,  79,  77,
        101,  99,  97,  95,  93,  91,  89,  88,  86,  84,  83,  82,  80,  79,  77,  76,
        95,  94,  92,  91,  90,  88,  87,  85,  84,  83,  81,  80,  79,  78,  76,  75,
        89,  88,  88,  87,  86,  85,  84,  83,  82,  81,  80,  79,  77,  76,  75,  74,
        84,  83,  83,  83,  82,  82,  81,  81,  81,  80,  78,  77,  76,  75,  74,  73,

        /*Size 128 x 128*/
        104, 105, 106, 108, 109, 110, 111, 113, 114, 115, 116, 117, 119, 120, 121, 122,
        105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 120, 121,
        106, 107, 108, 109, 110, 111, 111, 112, 113, 114, 115, 115, 116, 117, 118, 119,
        108, 108, 109, 110, 110, 111, 111, 112, 113, 113, 114, 115, 115, 116, 116, 117,
        109, 109, 110, 110, 111, 111, 111, 112, 112, 113, 113, 114, 114, 114, 115, 115,
        110, 110, 111, 111, 111, 111, 111, 112, 112, 112, 112, 113, 113, 113, 113, 114,
        111, 111, 111, 111, 111, 111, 111, 112, 112, 112, 112, 112, 112, 112, 112, 112,
        113, 112, 112, 112, 112, 112, 112, 111, 111, 111, 111, 111, 111, 110, 110, 110,
        114, 113, 113, 113, 112, 112, 112, 111, 111, 110, 110, 110, 109, 109, 109, 108,
        115, 114, 114, 113, 113, 112, 112, 111, 110, 110, 109, 109, 108, 108, 107, 106,
        116, 115, 115, 114, 113, 112, 112, 111, 110, 109, 109, 108, 107, 106, 105, 105,
        117, 116, 115, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103,
        119, 117, 116, 115, 114, 113, 112, 111, 109, 108, 107, 106, 105, 104, 102, 101,
        120, 118, 117, 116, 114, 113, 112, 110, 109, 108, 106, 105, 104, 102, 101,  99,
        121, 120, 118, 116, 115, 113, 112, 110, 109, 107, 105, 104, 102, 101,  99,  98,
        122, 121, 119, 117, 115, 114, 112, 110, 108, 106, 105, 103, 101,  99,  98,  96

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        69,  46,  42,  35,  46,  39,  37,  34,  42,  37,  31,  28,  35,  34,  28,  26,

        /*Size 8 x 8*/
        64,  77,  47,  43,  41,  38,  34,  32,  77,  56,  45,  48,  47,  44,  40,  36,
        47,  45,  39,  41,  41,  39,  37,  34,  43,  48,  41,  37,  36,  35,  33,  31,
        41,  47,  41,  36,  33,  31,  30,  29,  38,  44,  39,  35,  31,  29,  28,  27,
        34,  40,  37,  33,  30,  28,  27,  26,  32,  36,  34,  31,  29,  27,  26,  25,

        /*Size 16 x 16*/
        64,  71,  77,  62,  47,  45,  43,  42,  41,  39,  38,  36,  34,  33,  32,  32,
        71,  69,  67,  56,  46,  46,  46,  45,  44,  42,  41,  39,  37,  35,  34,  34,
        77,  67,  56,  50,  45,  46,  48,  48,  47,  45,  44,  42,  40,  38,  36,  36,
        62,  56,  50,  46,  42,  43,  44,  44,  44,  43,  41,  40,  38,  37,  35,  35,
        47,  46,  45,  42,  39,  40,  41,  41,  41,  40,  39,  38,  37,  35,  34,  34,
        45,  46,  46,  43,  40,  39,  39,  38,  38,  37,  37,  36,  35,  34,  33,  33,
        43,  46,  48,  44,  41,  39,  37,  36,  36,  35,  35,  34,  33,  32,  31,  31,
        42,  45,  48,  44,  41,  38,  36,  35,  34,  34,  33,  32,  32,  31,  30,  30,
        41,  44,  47,  44,  41,  38,  36,  34,  33,  32,  31,  31,  30,  29,  29,  29,
        39,  42,  45,  43,  40,  37,  35,  34,  32,  31,  30,  30,  29,  28,  28,  28,
        38,  41,  44,  41,  39,  37,  35,  33,  31,  30,  29,  29,  28,  28,  27,  27,
        36,  39,  42,  40,  38,  36,  34,  32,  31,  30,  29,  28,  27,  27,  26,  26,
        34,  37,  40,  38,  37,  35,  33,  32,  30,  29,  28,  27,  27,  26,  26,  26,
        33,  35,  38,  37,  35,  34,  32,  31,  29,  28,  28,  27,  26,  26,  25,  25,
        32,  34,  36,  35,  34,  33,  31,  30,  29,  28,  27,  26,  26,  25,  25,  25,
        32,  34,  36,  35,  34,  33,  31,  30,  29,  28,  27,  26,  26,  25,  25,  25,

        /*Size 32 x 32*/
        64,  67,  71,  74,  77,  70,  62,  54,  47,  46,  45,  44,  43,  43,  42,  42,
        67,  68,  70,  71,  72,  66,  59,  53,  46,  46,  45,  45,  44,  44,  43,  43,
        71,  70,  69,  68,  67,  61,  56,  51,  46,  46,  46,  46,  46,  45,  45,  44,
        74,  71,  68,  65,  62,  57,  53,  49,  45,  45,  46,  46,  47,  46,  46,  46,
        77,  72,  67,  62,  56,  53,  50,  47,  45,  45,  46,  47,  48,  48,  48,  47,
        70,  66,  61,  57,  53,  51,  48,  46,  43,  44,  45,  45,  46,  46,  46,  46,
        62,  59,  56,  53,  50,  48,  46,  44,  42,  42,  43,  44,  44,  44,  44,  44,
        54,  53,  51,  49,  47,  46,  44,  42,  41,  41,  41,  42,  42,  42,  42,  42,
        47,  46,  46,  45,  45,  43,  42,  41,  39,  40,  40,  40,  41,  41,  41,  41,
        46,  46,  46,  45,  45,  44,  42,  41,  40,  40,  40,  40,  40,  39,  39,  39,
        45,  45,  46,  46,  46,  45,  43,  41,  40,  40,  39,  39,  39,  38,  38,  38,
        44,  45,  46,  46,  47,  45,  44,  42,  40,  40,  39,  38,  38,  37,  37,  37,
        43,  44,  46,  47,  48,  46,  44,  42,  41,  40,  39,  38,  37,  36,  36,  36,
        43,  44,  45,  46,  48,  46,  44,  42,  41,  39,  38,  37,  36,  36,  36,  35,
        42,  43,  45,  46,  48,  46,  44,  42,  41,  39,  38,  37,  36,  36,  35,  35,
        42,  43,  44,  46,  47,  46,  44,  42,  41,  39,  38,  37,  36,  35,  35,  34,

        /*Size 64 x 64*/
        64,  66,  67,  69,  71,  72,  74,  76,  77,  73,  70,  66,  62,  58,  54,  50,
        66,  67,  68,  69,  70,  71,  72,  74,  75,  71,  68,  64,  60,  57,  53,  50,
        67,  68,  68,  69,  70,  70,  71,  71,  72,  69,  66,  62,  59,  56,  53,  49,
        69,  69,  69,  69,  69,  69,  69,  69,  69,  66,  63,  61,  58,  55,  52,  49,
        71,  70,  70,  69,  69,  68,  68,  67,  67,  64,  61,  59,  56,  53,  51,  48,
        72,  71,  70,  69,  68,  67,  66,  65,  64,  62,  59,  57,  55,  52,  50,  48,
        74,  72,  71,  69,  68,  66,  65,  63,  62,  59,  57,  55,  53,  51,  49,  47,
        76,  74,  71,  69,  67,  65,  63,  61,  59,  57,  55,  54,  52,  50,  48,  47,
        77,  75,  72,  69,  67,  64,  62,  59,  56,  55,  53,  52,  50,  49,  47,  46,
        73,  71,  69,  66,  64,  62,  59,  57,  55,  53,  52,  51,  49,  48,  47,  45,
        70,  68,  66,  63,  61,  59,  57,  55,  53,  52,  51,  50,  48,  47,  46,  44,
        66,  64,  62,  61,  59,  57,  55,  54,  52,  51,  50,  48,  47,  46,  45,  44,
        62,  60,  59,  58,  56,  55,  53,  52,  50,  49,  48,  47,  46,  45,  44,  43,
        58,  57,  56,  55,  53,  52,  51,  50,  49,  48,  47,  46,  45,  44,  43,  42,
        54,  53,  53,  52,  51,  50,  49,  48,  47,  47,  46,  45,  44,  43,  42,  41,
        50,  50,  49,  49,  48,  48,  47,  47,  46,  45,  44,  44,  43,  42,  41,  41,

        /*Size 128 x 128*/
        64,  65,  66,  66,  67,  68,  69,  70,  71,  71,  72,  73,  74,  75,  76,  76,
        65,  66,  66,  67,  68,  68,  69,  70,  70,  71,  72,  72,  73,  74,  75,  75,
        66,  66,  67,  67,  68,  68,  69,  70,  70,  71,  71,  72,  72,  73,  74,  74,
        66,  67,  67,  68,  68,  69,  69,  69,  70,  70,  71,  71,  72,  72,  72,  73,
        67,  68,  68,  68,  68,  69,  69,  69,  70,  70,  70,  71,  71,  71,  71,  72,
        68,  68,  68,  69,  69,  69,  69,  69,  69,  70,  70,  70,  70,  70,  70,  71,
        69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,
        70,  70,  70,  69,  69,  69,  69,  69,  69,  69,  69,  69,  68,  68,  68,  68,
        71,  70,  70,  70,  70,  69,  69,  69,  69,  68,  68,  68,  68,  67,  67,  67,
        71,  71,  71,  70,  70,  70,  69,  69,  68,  68,  68,  67,  67,  67,  66,  66,
        72,  72,  71,  71,  70,  70,  69,  69,  68,  68,  67,  67,  66,  66,  65,  65,
        73,  72,  72,  71,  71,  70,  69,  69,  68,  67,  67,  66,  65,  65,  64,  63,
        74,  73,  72,  72,  71,  70,  69,  68,  68,  67,  66,  65,  65,  64,  63,  62,
        75,  74,  73,  72,  71,  70,  69,  68,  67,  67,  66,  65,  64,  63,  62,  61,
        76,  75,  74,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  62,  61,  60,
        76,  75,  74,  73,  72,  71,  69,  68,  67,  66,  65,  63,  62,  61,  60,  59

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        117,  80,  75,  64,  80,  70,  67,  61,  75,  67,  57,  53,  64,  61,  53,  48,

        /*Size 8 x 8*/
        110, 131,  82,  76,  73,  68,  62,  58, 131,  97,  79,  84,  83,  77,  71,  65,
        82,  79,  70,  72,  72,  70,  66,  62,  76,  84,  72,  66,  64,  62,  60,  57,
        73,  83,  72,  64,  60,  57,  55,  54,  68,  77,  70,  62,  57,  54,  52,  50,
        62,  71,  66,  60,  55,  52,  50,  48,  58,  65,  62,  57,  54,  50,  48,  47,

        /*Size 16 x 16*/
        110, 120, 131, 106,  82,  79,  76,  75,  73,  70,  68,  65,  62,  60,  58,  58,
        120, 117, 114,  97,  80,  80,  80,  79,  78,  75,  72,  69,  67,  64,  61,  61,
        131, 114,  97,  88,  79,  81,  84,  83,  83,  80,  77,  74,  71,  68,  65,  65,
        106,  97,  88,  81,  74,  76,  78,  78,  77,  75,  73,  71,  68,  66,  63,  63,
        82,  80,  79,  74,  70,  71,  72,  72,  72,  71,  70,  68,  66,  64,  62,  62,
        79,  80,  81,  76,  71,  70,  69,  69,  68,  67,  66,  64,  63,  61,  59,  59,
        76,  80,  84,  78,  72,  69,  66,  65,  64,  63,  62,  61,  60,  59,  57,  57,
        75,  79,  83,  78,  72,  69,  65,  64,  62,  61,  60,  59,  58,  57,  55,  55,
        73,  78,  83,  77,  72,  68,  64,  62,  60,  59,  57,  56,  55,  54,  54,  54,
        70,  75,  80,  75,  71,  67,  63,  61,  59,  57,  56,  55,  54,  53,  52,  52,
        68,  72,  77,  73,  70,  66,  62,  60,  57,  56,  54,  53,  52,  51,  50,  50,
        65,  69,  74,  71,  68,  64,  61,  59,  56,  55,  53,  52,  51,  50,  49,  49,
        62,  67,  71,  68,  66,  63,  60,  58,  55,  54,  52,  51,  50,  49,  48,  48,
        60,  64,  68,  66,  64,  61,  59,  57,  54,  53,  51,  50,  49,  48,  47,  47,
        58,  61,  65,  63,  62,  59,  57,  55,  54,  52,  50,  49,  48,  47,  47,  47,
        58,  61,  65,  63,  62,  59,  57,  55,  54,  52,  50,  49,  48,  47,  47,  47,

        /*Size 32 x 32*/
        110, 115, 120, 126, 131, 119, 106,  94,  82,  80,  79,  78,  76,  75,  75,  74,
        115, 117, 119, 121, 123, 112, 102,  91,  81,  80,  80,  79,  78,  77,  77,  76,
        120, 119, 117, 116, 114, 106,  97,  89,  80,  80,  80,  80,  80,  80,  79,  78,
        126, 121, 116, 111, 106,  99,  93,  86,  79,  80,  81,  82,  82,  82,  81,  81,
        131, 123, 114, 106,  97,  93,  88,  83,  79,  80,  81,  83,  84,  84,  83,  83,
        119, 112, 106,  99,  93,  89,  85,  80,  76,  78,  79,  80,  81,  81,  81,  80,
        106, 102,  97,  93,  88,  85,  81,  78,  74,  75,  76,  77,  78,  78,  78,  77,
        94,  91,  89,  86,  83,  80,  78,  75,  72,  73,  74,  74,  75,  75,  75,  75,
        82,  81,  80,  79,  79,  76,  74,  72,  70,  71,  71,  72,  72,  72,  72,  72,
        80,  80,  80,  80,  80,  78,  75,  73,  71,  71,  71,  71,  71,  70,  70,  70,
        79,  80,  80,  81,  81,  79,  76,  74,  71,  71,  70,  70,  69,  69,  69,  68,
        78,  79,  80,  82,  83,  80,  77,  74,  72,  71,  70,  69,  68,  67,  67,  66,
        76,  78,  80,  82,  84,  81,  78,  75,  72,  71,  69,  68,  66,  66,  65,  65,
        75,  77,  80,  82,  84,  81,  78,  75,  72,  70,  69,  67,  66,  65,  64,  64,
        75,  77,  79,  81,  83,  81,  78,  75,  72,  70,  69,  67,  65,  64,  64,  63,
        74,  76,  78,  81,  83,  80,  77,  75,  72,  70,  68,  66,  65,  64,  63,  62,

        /*Size 64 x 64*/
        110, 112, 115, 118, 120, 123, 126, 128, 131, 125, 119, 113, 106, 100,  94,  88,
        112, 114, 116, 118, 120, 121, 123, 125, 127, 121, 115, 110, 104,  98,  93,  87,
        115, 116, 117, 118, 119, 120, 121, 122, 123, 117, 112, 107, 102,  97,  91,  86,
        118, 118, 118, 118, 118, 118, 118, 118, 118, 114, 109, 104,  99,  95,  90,  85,
        120, 120, 119, 118, 117, 116, 116, 115, 114, 110, 106, 101,  97,  93,  89,  84,
        123, 121, 120, 118, 116, 115, 113, 112, 110, 106, 102,  99,  95,  91,  87,  83,
        126, 123, 121, 118, 116, 113, 111, 108, 106, 102,  99,  96,  93,  89,  86,  83,
        128, 125, 122, 118, 115, 112, 108, 105, 101,  99,  96,  93,  90,  87,  85,  82,
        131, 127, 123, 118, 114, 110, 106, 101,  97,  95,  93,  90,  88,  86,  83,  81,
        125, 121, 117, 114, 110, 106, 102,  99,  95,  93,  91,  88,  86,  84,  82,  80,
        119, 115, 112, 109, 106, 102,  99,  96,  93,  91,  89,  87,  85,  82,  80,  78,
        113, 110, 107, 104, 101,  99,  96,  93,  90,  88,  87,  85,  83,  81,  79,  77,
        106, 104, 102,  99,  97,  95,  93,  90,  88,  86,  85,  83,  81,  79,  78,  76,
        100,  98,  97,  95,  93,  91,  89,  87,  86,  84,  82,  81,  79,  78,  76,  75,
        94,  93,  91,  90,  89,  87,  86,  85,  83,  82,  80,  79,  78,  76,  75,  74,
        88,  87,  86,  85,  84,  83,  83,  82,  81,  80,  78,  77,  76,  75,  74,  72,

        /*Size 128 x 128*/
        110, 111, 112, 114, 115, 116, 118, 119, 120, 122, 123, 124, 126, 127, 128, 130,
        111, 112, 113, 114, 116, 117, 118, 119, 120, 121, 122, 123, 124, 126, 127, 128,
        112, 113, 114, 115, 116, 117, 118, 119, 120, 120, 121, 122, 123, 124, 125, 126,
        114, 114, 115, 116, 116, 117, 118, 119, 119, 120, 121, 121, 122, 123, 123, 124,
        115, 116, 116, 116, 117, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122,
        116, 117, 117, 117, 117, 118, 118, 118, 118, 119, 119, 119, 119, 120, 120, 120,
        118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118,
        119, 119, 119, 119, 118, 118, 118, 118, 118, 117, 117, 117, 117, 117, 117, 116,
        120, 120, 120, 119, 119, 118, 118, 118, 117, 117, 116, 116, 116, 115, 115, 115,
        122, 121, 120, 120, 119, 119, 118, 117, 117, 116, 116, 115, 114, 114, 113, 113,
        123, 122, 121, 121, 120, 119, 118, 117, 116, 116, 115, 114, 113, 112, 112, 111,
        124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109,
        126, 124, 123, 122, 121, 119, 118, 117, 116, 114, 113, 112, 111, 109, 108, 107,
        127, 126, 124, 123, 121, 120, 118, 117, 115, 114, 112, 111, 109, 108, 107, 105,
        128, 127, 125, 123, 122, 120, 118, 117, 115, 113, 112, 110, 108, 107, 105, 103,
        130, 128, 126, 124, 122, 120, 118, 116, 115, 113, 111, 109, 107, 105, 103, 101

      }
    }
  },
  {
    /* QM level 6*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        72,  68,  50,  41,  68,  53,  45,  39,  50,  45,  39,  36,  41,  39,  36,  34,

        /*Size 8 x 8*/
        64,  78,  73,  61,  52,  45,  41,  38,  78,  71,  73,  65,  56,  49,  44,  40,
        73,  73,  59,  54,  49,  45,  42,  39,  61,  65,  54,  47,  44,  41,  39,  38,
        52,  56,  49,  44,  41,  39,  37,  36,  45,  49,  45,  41,  39,  37,  36,  35,
        41,  44,  42,  39,  37,  36,  35,  34,  38,  40,  39,  38,  36,  35,  34,  34,

        /*Size 16 x 16*/
        64,  71,  78,  75,  73,  67,  61,  56,  52,  48,  45,  43,  41,  39,  38,  38,
        71,  72,  74,  73,  73,  68,  63,  59,  54,  50,  47,  45,  42,  41,  39,  39,
        78,  74,  71,  72,  73,  69,  65,  61,  56,  53,  49,  46,  44,  42,  40,  40,
        75,  73,  72,  69,  66,  62,  59,  56,  53,  50,  47,  45,  43,  41,  40,  40,
        73,  73,  73,  66,  59,  56,  54,  51,  49,  47,  45,  43,  42,  40,  39,  39,
        67,  68,  69,  62,  56,  53,  50,  48,  46,  45,  43,  42,  40,  39,  38,  38,
        61,  63,  65,  59,  54,  50,  47,  45,  44,  43,  41,  40,  39,  38,  38,  38,
        56,  59,  61,  56,  51,  48,  45,  44,  42,  41,  40,  39,  38,  38,  37,  37,
        52,  54,  56,  53,  49,  46,  44,  42,  41,  40,  39,  38,  37,  37,  36,  36,
        48,  50,  53,  50,  47,  45,  43,  41,  40,  39,  38,  37,  37,  36,  36,  36,
        45,  47,  49,  47,  45,  43,  41,  40,  39,  38,  37,  36,  36,  35,  35,  35,
        43,  45,  46,  45,  43,  42,  40,  39,  38,  37,  36,  36,  35,  35,  35,  35,
        41,  42,  44,  43,  42,  40,  39,  38,  37,  37,  36,  35,  35,  35,  34,  34,
        39,  41,  42,  41,  40,  39,  38,  38,  37,  36,  35,  35,  35,  34,  34,  34,
        38,  39,  40,  40,  39,  38,  38,  37,  36,  36,  35,  35,  34,  34,  34,  34,
        38,  39,  40,  40,  39,  38,  38,  37,  36,  36,  35,  35,  34,  34,  34,  34,

        /*Size 32 x 32*/
        64,  67,  71,  74,  78,  76,  75,  74,  73,  70,  67,  64,  61,  59,  56,  54,
        67,  69,  72,  74,  76,  75,  74,  74,  73,  70,  68,  65,  62,  60,  57,  55,
        71,  72,  72,  73,  74,  74,  73,  73,  73,  70,  68,  66,  63,  61,  59,  56,
        74,  74,  73,  73,  72,  72,  72,  73,  73,  71,  68,  66,  64,  62,  60,  57,
        78,  76,  74,  72,  71,  71,  72,  72,  73,  71,  69,  67,  65,  63,  61,  59,
        76,  75,  74,  72,  71,  71,  70,  70,  69,  67,  66,  64,  62,  60,  58,  56,
        75,  74,  73,  72,  72,  70,  69,  67,  66,  64,  62,  61,  59,  58,  56,  54,
        74,  74,  73,  73,  72,  70,  67,  65,  62,  61,  59,  58,  56,  55,  54,  52,
        73,  73,  73,  73,  73,  69,  66,  62,  59,  57,  56,  55,  54,  52,  51,  50,
        70,  70,  70,  71,  71,  67,  64,  61,  57,  56,  55,  53,  52,  51,  50,  49,
        67,  68,  68,  68,  69,  66,  62,  59,  56,  55,  53,  52,  50,  49,  48,  47,
        64,  65,  66,  66,  67,  64,  61,  58,  55,  53,  52,  50,  49,  48,  47,  46,
        61,  62,  63,  64,  65,  62,  59,  56,  54,  52,  50,  49,  47,  46,  45,  45,
        59,  60,  61,  62,  63,  60,  58,  55,  52,  51,  49,  48,  46,  45,  45,  44,
        56,  57,  59,  60,  61,  58,  56,  54,  51,  50,  48,  47,  45,  45,  44,  43,
        54,  55,  56,  57,  59,  56,  54,  52,  50,  49,  47,  46,  45,  44,  43,  42,

        /*Size 64 x 64*/
        64,  66,  67,  69,  71,  72,  74,  76,  78,  77,  76,  76,  75,  75,  74,  74,
        66,  67,  68,  70,  71,  73,  74,  75,  77,  76,  76,  75,  75,  74,  74,  74,
        67,  68,  69,  71,  72,  73,  74,  75,  76,  75,  75,  75,  74,  74,  74,  73,
        69,  70,  71,  71,  72,  73,  73,  74,  75,  75,  74,  74,  74,  74,  73,  73,
        71,  71,  72,  72,  72,  73,  73,  74,  74,  74,  74,  74,  73,  73,  73,  73,
        72,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,
        74,  74,  74,  73,  73,  73,  73,  72,  72,  72,  72,  72,  72,  73,  73,  73,
        76,  75,  75,  74,  74,  73,  72,  72,  71,  72,  72,  72,  72,  72,  72,  72,
        78,  77,  76,  75,  74,  73,  72,  71,  71,  71,  71,  71,  72,  72,  72,  72,
        77,  76,  75,  75,  74,  73,  72,  72,  71,  71,  71,  71,  71,  71,  71,  71,
        76,  76,  75,  74,  74,  73,  72,  72,  71,  71,  71,  70,  70,  70,  70,  69,
        76,  75,  75,  74,  74,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  68,
        75,  75,  74,  74,  73,  73,  72,  72,  72,  71,  70,  69,  69,  68,  67,  66,
        75,  74,  74,  74,  73,  73,  73,  72,  72,  71,  70,  69,  68,  67,  66,  65,
        74,  74,  74,  73,  73,  73,  73,  72,  72,  71,  70,  68,  67,  66,  65,  63,
        74,  74,  73,  73,  73,  73,  73,  72,  72,  71,  69,  68,  66,  65,  63,  62,

        /*Size 128 x 128*/
        64,  65,  66,  67,  67,  68,  69,  70,  71,  72,  72,  73,  74,  75,  76,  77,
        65,  66,  66,  67,  68,  69,  69,  70,  71,  72,  72,  73,  74,  75,  76,  76,
        66,  66,  67,  68,  68,  69,  70,  70,  71,  72,  73,  73,  74,  75,  75,  76,
        67,  67,  68,  68,  69,  70,  70,  71,  71,  72,  73,  73,  74,  74,  75,  76,
        67,  68,  68,  69,  69,  70,  71,  71,  72,  72,  73,  73,  74,  74,  75,  75,
        68,  69,  69,  70,  70,  70,  71,  71,  72,  72,  73,  73,  74,  74,  74,  75,
        69,  69,  70,  70,  71,  71,  71,  72,  72,  72,  73,  73,  73,  74,  74,  75,
        70,  70,  70,  71,  71,  71,  72,  72,  72,  72,  73,  73,  73,  74,  74,  74,
        71,  71,  71,  71,  72,  72,  72,  72,  72,  73,  73,  73,  73,  73,  74,  74,
        72,  72,  72,  72,  72,  72,  72,  72,  73,  73,  73,  73,  73,  73,  73,  73,
        72,  72,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,
        73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,
        74,  74,  74,  74,  74,  74,  73,  73,  73,  73,  73,  73,  73,  73,  72,  72,
        75,  75,  75,  74,  74,  74,  74,  74,  73,  73,  73,  73,  73,  72,  72,  72,
        76,  76,  75,  75,  75,  74,  74,  74,  74,  73,  73,  73,  72,  72,  72,  72,
        77,  76,  76,  76,  75,  75,  75,  74,  74,  73,  73,  73,  72,  72,  72,  71

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        130, 120,  81,  60, 120,  87,  69,  57,  81,  69,  55,  49,  60,  57,  49,  46,

        /*Size 8 x 8*/
        111, 141, 132, 105,  84,  70,  60,  54, 141, 126, 130, 114,  94,  78,  67,  59,
        132, 130,  99,  88,  78,  69,  62,  56, 105, 114,  88,  74,  67,  61,  57,  53,
        84,  94,  78,  67,  60,  55,  52,  50,  70,  78,  69,  61,  55,  52,  49,  47,
        60,  67,  62,  57,  52,  49,  47,  46,  54,  59,  56,  53,  50,  47,  46,  45,

        /*Size 16 x 16*/
        111, 126, 141, 136, 132, 119, 105,  95,  84,  77,  70,  65,  60,  57,  54,  54,
        126, 130, 133, 132, 131, 120, 110,  99,  89,  81,  74,  69,  64,  60,  57,  57,
        141, 133, 126, 128, 130, 122, 114, 104,  94,  86,  78,  72,  67,  63,  59,  59,
        136, 132, 128, 121, 115, 108, 101,  94,  86,  80,  74,  69,  64,  61,  58,  58,
        132, 131, 130, 115,  99,  94,  88,  83,  78,  74,  69,  66,  62,  59,  56,  56,
        119, 120, 122, 108,  94,  87,  81,  77,  72,  69,  65,  62,  59,  57,  54,  54,
        105, 110, 114, 101,  88,  81,  74,  70,  67,  64,  61,  59,  57,  55,  53,  53,
        95,  99, 104,  94,  83,  77,  70,  67,  63,  61,  58,  56,  54,  53,  51,  51,
        84,  89,  94,  86,  78,  72,  67,  63,  60,  57,  55,  54,  52,  51,  50,  50,
        77,  81,  86,  80,  74,  69,  64,  61,  57,  55,  53,  52,  51,  49,  48,  48,
        70,  74,  78,  74,  69,  65,  61,  58,  55,  53,  52,  50,  49,  48,  47,  47,
        65,  69,  72,  69,  66,  62,  59,  56,  54,  52,  50,  49,  48,  47,  46,  46,
        60,  64,  67,  64,  62,  59,  57,  54,  52,  51,  49,  48,  47,  46,  46,  46,
        57,  60,  63,  61,  59,  57,  55,  53,  51,  49,  48,  47,  46,  46,  45,  45,
        54,  57,  59,  58,  56,  54,  53,  51,  50,  48,  47,  46,  46,  45,  45,  45,
        54,  57,  59,  58,  56,  54,  53,  51,  50,  48,  47,  46,  46,  45,  45,  45,

        /*Size 32 x 32*/
        111, 119, 126, 134, 141, 139, 136, 134, 132, 125, 119, 112, 105, 100,  95,  89,
        119, 123, 128, 133, 137, 136, 134, 133, 131, 125, 119, 113, 108, 102,  97,  92,
        126, 128, 130, 131, 133, 133, 132, 132, 131, 126, 120, 115, 110, 105,  99,  94,
        134, 133, 131, 130, 129, 130, 130, 130, 131, 126, 121, 117, 112, 107, 102,  97,
        141, 137, 133, 129, 126, 127, 128, 129, 130, 126, 122, 118, 114, 109, 104,  99,
        139, 136, 133, 130, 127, 126, 125, 124, 122, 119, 115, 111, 108, 103,  99,  94,
        136, 134, 132, 130, 128, 125, 121, 118, 115, 111, 108, 105, 101,  97,  94,  90,
        134, 133, 132, 130, 129, 124, 118, 112, 107, 104, 101,  98,  95,  91,  88,  85,
        132, 131, 131, 131, 130, 122, 115, 107,  99,  96,  94,  91,  88,  86,  83,  81,
        125, 125, 126, 126, 126, 119, 111, 104,  96,  93,  90,  87,  84,  82,  80,  78,
        119, 119, 120, 121, 122, 115, 108, 101,  94,  90,  87,  84,  81,  79,  77,  75,
        112, 113, 115, 117, 118, 111, 105,  98,  91,  87,  84,  81,  77,  75,  73,  71,
        105, 108, 110, 112, 114, 108, 101,  95,  88,  84,  81,  77,  74,  72,  70,  68,
        100, 102, 105, 107, 109, 103,  97,  91,  86,  82,  79,  75,  72,  70,  68,  67,
        95,  97,  99, 102, 104,  99,  94,  88,  83,  80,  77,  73,  70,  68,  67,  65,
        89,  92,  94,  97,  99,  94,  90,  85,  81,  78,  75,  71,  68,  67,  65,  63,

        /*Size 64 x 64*/
        111, 115, 119, 122, 126, 130, 134, 137, 141, 140, 139, 138, 136, 135, 134, 133,
        115, 118, 121, 124, 127, 130, 133, 136, 139, 138, 137, 136, 135, 134, 133, 133,
        119, 121, 123, 126, 128, 130, 133, 135, 137, 136, 136, 135, 134, 134, 133, 132,
        122, 124, 126, 127, 129, 130, 132, 134, 135, 135, 134, 134, 133, 133, 132, 132,
        126, 127, 128, 129, 130, 131, 131, 132, 133, 133, 133, 132, 132, 132, 132, 131,
        130, 130, 130, 130, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
        134, 133, 133, 132, 131, 131, 130, 130, 129, 130, 130, 130, 130, 130, 130, 130,
        137, 136, 135, 134, 132, 131, 130, 129, 127, 128, 128, 129, 129, 129, 130, 130,
        141, 139, 137, 135, 133, 131, 129, 127, 126, 126, 127, 127, 128, 128, 129, 130,
        140, 138, 136, 135, 133, 131, 130, 128, 126, 126, 126, 126, 126, 126, 126, 126,
        139, 137, 136, 134, 133, 131, 130, 128, 127, 126, 126, 125, 125, 124, 124, 123,
        138, 136, 135, 134, 132, 131, 130, 129, 127, 126, 125, 124, 123, 122, 121, 120,
        136, 135, 134, 133, 132, 131, 130, 129, 128, 126, 125, 123, 121, 120, 118, 116,
        135, 134, 134, 133, 132, 131, 130, 129, 128, 126, 124, 122, 120, 117, 115, 113,
        134, 133, 133, 132, 132, 131, 130, 130, 129, 126, 124, 121, 118, 115, 112, 110,
        133, 133, 132, 132, 131, 131, 130, 130, 130, 126, 123, 120, 116, 113, 110, 106,

        /*Size 128 x 128*/
        111, 113, 115, 117, 119, 121, 122, 124, 126, 128, 130, 132, 134, 135, 137, 139,
        113, 115, 116, 118, 120, 122, 123, 125, 127, 128, 130, 132, 133, 135, 137, 138,
        115, 116, 118, 119, 121, 122, 124, 126, 127, 129, 130, 132, 133, 135, 136, 138,
        117, 118, 119, 121, 122, 123, 125, 126, 127, 129, 130, 131, 133, 134, 135, 137,
        119, 120, 121, 122, 123, 124, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136,
        121, 122, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135,
        122, 123, 124, 125, 126, 126, 127, 128, 129, 130, 130, 131, 132, 133, 134, 134,
        124, 125, 126, 126, 127, 127, 128, 129, 129, 130, 130, 131, 132, 132, 133, 134,
        126, 127, 127, 127, 128, 128, 129, 129, 130, 130, 131, 131, 131, 132, 132, 133,
        128, 128, 129, 129, 129, 129, 130, 130, 130, 130, 131, 131, 131, 131, 132, 132,
        130, 130, 130, 130, 130, 130, 130, 130, 131, 131, 131, 131, 131, 131, 131, 131,
        132, 132, 132, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 130,
        134, 133, 133, 133, 133, 132, 132, 132, 131, 131, 131, 131, 130, 130, 130, 130,
        135, 135, 135, 134, 134, 133, 133, 132, 132, 131, 131, 131, 130, 130, 129, 129,
        137, 137, 136, 135, 135, 134, 134, 133, 132, 132, 131, 131, 130, 129, 129, 128,
        139, 138, 138, 137, 136, 135, 134, 134, 133, 132, 131, 130, 130, 129, 128, 127

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        68,  50,  47,  41,  50,  44,  42,  39,  47,  42,  36,  34,  41,  39,  34,  31,

        /*Size 8 x 8*/
        64,  76,  49,  48,  46,  43,  40,  37,  76,  57,  49,  53,  52,  49,  45,  41,
        49,  49,  44,  45,  46,  44,  42,  39,  48,  53,  45,  42,  41,  40,  38,  37,
        46,  52,  46,  41,  38,  37,  35,  34,  43,  49,  44,  40,  37,  35,  33,  32,
        40,  45,  42,  38,  35,  33,  32,  31,  37,  41,  39,  37,  34,  32,  31,  30,

        /*Size 16 x 16*/
        64,  70,  76,  62,  49,  48,  48,  47,  46,  44,  43,  41,  40,  38,  37,  37,
        70,  68,  66,  58,  49,  50,  50,  50,  49,  47,  46,  44,  42,  41,  39,  39,
        76,  66,  57,  53,  49,  51,  53,  52,  52,  50,  49,  47,  45,  43,  41,  41,
        62,  58,  53,  50,  47,  48,  49,  49,  49,  47,  46,  45,  43,  42,  40,  40,
        49,  49,  49,  47,  44,  45,  45,  45,  46,  45,  44,  43,  42,  40,  39,  39,
        48,  50,  51,  48,  45,  44,  44,  43,  43,  42,  42,  41,  40,  39,  38,  38,
        48,  50,  53,  49,  45,  44,  42,  41,  41,  40,  40,  39,  38,  37,  37,  37,
        47,  50,  52,  49,  45,  43,  41,  40,  39,  39,  38,  37,  37,  36,  35,  35,
        46,  49,  52,  49,  46,  43,  41,  39,  38,  37,  37,  36,  35,  35,  34,  34,
        44,  47,  50,  47,  45,  42,  40,  39,  37,  36,  36,  35,  34,  34,  33,  33,
        43,  46,  49,  46,  44,  42,  40,  38,  37,  36,  35,  34,  33,  33,  32,  32,
        41,  44,  47,  45,  43,  41,  39,  37,  36,  35,  34,  33,  33,  32,  32,  32,
        40,  42,  45,  43,  42,  40,  38,  37,  35,  34,  33,  33,  32,  31,  31,  31,
        38,  41,  43,  42,  40,  39,  37,  36,  35,  34,  33,  32,  31,  31,  30,  30,
        37,  39,  41,  40,  39,  38,  37,  35,  34,  33,  32,  32,  31,  30,  30,  30,
        37,  39,  41,  40,  39,  38,  37,  35,  34,  33,  32,  32,  31,  30,  30,  30,

        /*Size 32 x 32*/
        64,  67,  70,  73,  76,  69,  62,  55,  49,  48,  48,  48,  48,  47,  47,  46,
        67,  68,  69,  70,  71,  65,  60,  54,  49,  49,  49,  49,  49,  49,  48,  48,
        70,  69,  68,  67,  66,  62,  58,  53,  49,  49,  50,  50,  50,  50,  50,  49,
        73,  70,  67,  64,  62,  58,  55,  52,  49,  50,  50,  51,  52,  51,  51,  51,
        76,  71,  66,  62,  57,  55,  53,  51,  49,  50,  51,  52,  53,  53,  52,  52,
        69,  65,  62,  58,  55,  53,  52,  50,  48,  49,  49,  50,  51,  51,  51,  50,
        62,  60,  58,  55,  53,  52,  50,  48,  47,  47,  48,  48,  49,  49,  49,  49,
        55,  54,  53,  52,  51,  50,  48,  47,  46,  46,  46,  47,  47,  47,  47,  47,
        49,  49,  49,  49,  49,  48,  47,  46,  44,  45,  45,  45,  45,  45,  45,  45,
        48,  49,  49,  50,  50,  49,  47,  46,  45,  44,  44,  44,  44,  44,  44,  44,
        48,  49,  50,  50,  51,  49,  48,  46,  45,  44,  44,  44,  44,  43,  43,  43,
        48,  49,  50,  51,  52,  50,  48,  47,  45,  44,  44,  43,  43,  42,  42,  42,
        48,  49,  50,  52,  53,  51,  49,  47,  45,  44,  44,  43,  42,  41,  41,  41,
        47,  49,  50,  51,  53,  51,  49,  47,  45,  44,  43,  42,  41,  41,  41,  40,
        47,  48,  50,  51,  52,  51,  49,  47,  45,  44,  43,  42,  41,  41,  40,  40,
        46,  48,  49,  51,  52,  50,  49,  47,  45,  44,  43,  42,  41,  40,  40,  39,

        /*Size 64 x 64*/
        64,  65,  67,  68,  70,  71,  73,  74,  76,  72,  69,  65,  62,  59,  55,  52,
        65,  66,  67,  68,  69,  70,  71,  72,  73,  70,  67,  64,  61,  58,  55,  52,
        67,  67,  68,  68,  69,  69,  70,  70,  71,  68,  65,  63,  60,  57,  54,  51,
        68,  68,  68,  68,  68,  68,  69,  69,  69,  66,  64,  61,  59,  56,  54,  51,
        70,  69,  69,  68,  68,  68,  67,  67,  66,  64,  62,  60,  58,  55,  53,  51,
        71,  70,  69,  68,  68,  67,  66,  65,  64,  62,  60,  58,  56,  55,  53,  51,
        73,  71,  70,  69,  67,  66,  64,  63,  62,  60,  58,  57,  55,  54,  52,  51,
        74,  72,  70,  69,  67,  65,  63,  61,  59,  58,  57,  56,  54,  53,  52,  50,
        76,  73,  71,  69,  66,  64,  62,  59,  57,  56,  55,  54,  53,  52,  51,  50,
        72,  70,  68,  66,  64,  62,  60,  58,  56,  55,  54,  53,  52,  51,  50,  50,
        69,  67,  65,  64,  62,  60,  58,  57,  55,  54,  53,  52,  52,  51,  50,  49,
        65,  64,  63,  61,  60,  58,  57,  56,  54,  53,  52,  52,  51,  50,  49,  48,
        62,  61,  60,  59,  58,  56,  55,  54,  53,  52,  52,  51,  50,  49,  48,  48,
        59,  58,  57,  56,  55,  55,  54,  53,  52,  51,  51,  50,  49,  48,  48,  47,
        55,  55,  54,  54,  53,  53,  52,  52,  51,  50,  50,  49,  48,  48,  47,  46,
        52,  52,  51,  51,  51,  51,  51,  50,  50,  50,  49,  48,  48,  47,  46,  46,

        /*Size 128 x 128*/
        64,  65,  65,  66,  67,  68,  68,  69,  70,  70,  71,  72,  73,  73,  74,  75,
        65,  65,  66,  67,  67,  68,  68,  69,  70,  70,  71,  71,  72,  73,  73,  74,
        65,  66,  66,  67,  67,  68,  68,  69,  69,  70,  70,  71,  71,  72,  72,  73,
        66,  67,  67,  67,  68,  68,  68,  69,  69,  69,  70,  70,  71,  71,  71,  72,
        67,  67,  67,  68,  68,  68,  68,  69,  69,  69,  69,  70,  70,  70,  70,  71,
        68,  68,  68,  68,  68,  68,  68,  69,  69,  69,  69,  69,  69,  69,  69,  70,
        68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  69,  69,  69,  69,
        69,  69,  69,  69,  69,  69,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        70,  70,  69,  69,  69,  69,  68,  68,  68,  68,  68,  67,  67,  67,  67,  66,
        70,  70,  70,  69,  69,  69,  68,  68,  68,  67,  67,  67,  66,  66,  66,  65,
        71,  71,  70,  70,  69,  69,  68,  68,  68,  67,  67,  66,  66,  65,  65,  64,
        72,  71,  71,  70,  70,  69,  68,  68,  67,  67,  66,  66,  65,  64,  64,  63,
        73,  72,  71,  71,  70,  69,  69,  68,  67,  66,  66,  65,  64,  64,  63,  62,
        73,  73,  72,  71,  70,  69,  69,  68,  67,  66,  65,  64,  64,  63,  62,  61,
        74,  73,  72,  71,  70,  69,  69,  68,  67,  66,  65,  64,  63,  62,  61,  60,
        75,  74,  73,  72,  71,  70,  69,  68,  66,  65,  64,  63,  62,  61,  60,  59

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        101,  76,  73,  64,  76,  69,  66,  61,  73,  66,  58,  54,  64,  61,  54,  50,

        /*Size 8 x 8*/
        96, 112,  75,  74,  71,  67,  62,  58, 112,  87,  76,  81,  79,  75,  70,  65,
        75,  76,  69,  70,  71,  68,  65,  62,  74,  81,  70,  66,  64,  62,  61,  58,
        71,  79,  71,  64,  60,  58,  57,  55,  67,  75,  68,  62,  58,  56,  54,  52,
        62,  70,  65,  61,  57,  54,  52,  51,  58,  65,  62,  58,  55,  52,  51,  49,

        /*Size 16 x 16*/
        96, 104, 112,  93,  75,  74,  74,  72,  71,  69,  67,  64,  62,  60,  58,  58,
        104, 101,  99,  87,  75,  76,  77,  76,  75,  73,  71,  68,  66,  64,  61,  61,
        112,  99,  87,  81,  76,  78,  81,  80,  79,  77,  75,  72,  70,  67,  65,  65,
        93,  87,  81,  77,  72,  74,  75,  75,  75,  73,  71,  69,  67,  65,  63,  63,
        75,  75,  76,  72,  69,  70,  70,  70,  71,  69,  68,  67,  65,  64,  62,  62,
        74,  76,  78,  74,  70,  69,  68,  68,  67,  66,  65,  64,  63,  61,  60,  60,
        74,  77,  81,  75,  70,  68,  66,  65,  64,  63,  62,  61,  61,  59,  58,  58,
        72,  76,  80,  75,  70,  68,  65,  63,  62,  61,  60,  59,  59,  58,  57,  57,
        71,  75,  79,  75,  71,  67,  64,  62,  60,  59,  58,  57,  57,  56,  55,  55,
        69,  73,  77,  73,  69,  66,  63,  61,  59,  58,  57,  56,  55,  54,  54,  54,
        67,  71,  75,  71,  68,  65,  62,  60,  58,  57,  56,  55,  54,  53,  52,  52,
        64,  68,  72,  69,  67,  64,  61,  59,  57,  56,  55,  54,  53,  52,  51,  51,
        62,  66,  70,  67,  65,  63,  61,  59,  57,  55,  54,  53,  52,  51,  51,  51,
        60,  64,  67,  65,  64,  61,  59,  58,  56,  54,  53,  52,  51,  50,  50,  50,
        58,  61,  65,  63,  62,  60,  58,  57,  55,  54,  52,  51,  51,  50,  49,  49,
        58,  61,  65,  63,  62,  60,  58,  57,  55,  54,  52,  51,  51,  50,  49,  49,

        /*Size 32 x 32*/
        96, 100, 104, 108, 112, 103,  93,  84,  75,  75,  74,  74,  74,  73,  72,  72,
        100, 101, 103, 104, 105,  98,  90,  83,  75,  75,  75,  75,  75,  75,  74,  74,
        104, 103, 101, 100,  99,  93,  87,  81,  75,  76,  76,  77,  77,  77,  76,  76,
        108, 104, 100,  97,  93,  88,  84,  80,  76,  76,  77,  78,  79,  78,  78,  77,
        112, 105,  99,  93,  87,  84,  81,  78,  76,  77,  78,  79,  81,  80,  80,  79,
        103,  98,  93,  88,  84,  81,  79,  76,  74,  75,  76,  77,  78,  78,  77,  77,
        93,  90,  87,  84,  81,  79,  77,  74,  72,  73,  74,  75,  75,  75,  75,  75,
        84,  83,  81,  80,  78,  76,  74,  72,  71,  71,  72,  72,  73,  73,  73,  73,
        75,  75,  75,  76,  76,  74,  72,  71,  69,  69,  70,  70,  70,  70,  70,  70,
        75,  75,  76,  76,  77,  75,  73,  71,  69,  69,  69,  69,  69,  69,  69,  69,
        74,  75,  76,  77,  78,  76,  74,  72,  70,  69,  69,  68,  68,  68,  68,  67,
        74,  75,  77,  78,  79,  77,  75,  72,  70,  69,  68,  67,  67,  66,  66,  66,
        74,  75,  77,  79,  81,  78,  75,  73,  70,  69,  68,  67,  66,  65,  65,  64,
        73,  75,  77,  78,  80,  78,  75,  73,  70,  69,  68,  66,  65,  65,  64,  63,
        72,  74,  76,  78,  80,  77,  75,  73,  70,  69,  68,  66,  65,  64,  63,  63,
        72,  74,  76,  77,  79,  77,  75,  73,  70,  69,  67,  66,  64,  63,  63,  62,

        /*Size 64 x 64*/
        96,  98, 100, 102, 104, 106, 108, 110, 112, 107, 103,  98,  93,  89,  84,  79,
        98,  99, 100, 102, 103, 105, 106, 107, 109, 104, 100,  96,  92,  88,  83,  79,
        100, 100, 101, 102, 103, 103, 104, 105, 105, 102,  98,  94,  90,  86,  83,  79,
        102, 102, 102, 102, 102, 102, 102, 102, 102,  99,  95,  92,  89,  85,  82,  79,
        104, 103, 103, 102, 101, 101, 100, 100,  99,  96,  93,  90,  87,  84,  81,  78,
        106, 105, 103, 102, 101, 100,  98,  97,  96,  93,  91,  88,  86,  83,  81,  78,
        108, 106, 104, 102, 100,  98,  97,  95,  93,  91,  88,  86,  84,  82,  80,  78,
        110, 107, 105, 102, 100,  97,  95,  92,  90,  88,  86,  84,  83,  81,  79,  77,
        112, 109, 105, 102,  99,  96,  93,  90,  87,  85,  84,  82,  81,  80,  78,  77,
        107, 104, 102,  99,  96,  93,  91,  88,  85,  84,  83,  81,  80,  79,  77,  76,
        103, 100,  98,  95,  93,  91,  88,  86,  84,  83,  81,  80,  79,  78,  76,  75,
        98,  96,  94,  92,  90,  88,  86,  84,  82,  81,  80,  79,  78,  77,  75,  74,
        93,  92,  90,  89,  87,  86,  84,  83,  81,  80,  79,  78,  77,  76,  74,  73,
        89,  88,  86,  85,  84,  83,  82,  81,  80,  79,  78,  77,  76,  75,  73,  72,
        84,  83,  83,  82,  81,  81,  80,  79,  78,  77,  76,  75,  74,  73,  72,  71,
        79,  79,  79,  79,  78,  78,  78,  77,  77,  76,  75,  74,  73,  72,  71,  71,

        /*Size 128 x 128*/
        96,  97,  98,  99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
        97,  98,  98,  99, 100, 101, 102, 103, 103, 104, 105, 106, 107, 108, 108, 109,
        98,  98,  99, 100, 100, 101, 102, 102, 103, 104, 105, 105, 106, 107, 107, 108,
        99,  99, 100, 100, 101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106,
        100, 100, 100, 101, 101, 102, 102, 102, 103, 103, 103, 104, 104, 104, 105, 105,
        101, 101, 101, 101, 102, 102, 102, 102, 102, 102, 103, 103, 103, 103, 103, 104,
        102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102,
        103, 103, 102, 102, 102, 102, 102, 102, 102, 102, 101, 101, 101, 101, 101, 101,
        104, 103, 103, 103, 103, 102, 102, 102, 101, 101, 101, 101, 100, 100, 100,  99,
        105, 104, 104, 103, 103, 102, 102, 102, 101, 101, 100, 100,  99,  99,  98,  98,
        106, 105, 105, 104, 103, 103, 102, 101, 101, 100, 100,  99,  98,  98,  97,  97,
        107, 106, 105, 104, 104, 103, 102, 101, 101, 100,  99,  98,  97,  97,  96,  95,
        108, 107, 106, 105, 104, 103, 102, 101, 100,  99,  98,  97,  97,  96,  95,  94,
        109, 108, 107, 105, 104, 103, 102, 101, 100,  99,  98,  97,  96,  95,  93,  92,
        110, 108, 107, 106, 105, 103, 102, 101, 100,  98,  97,  96,  95,  93,  92,  91,
        111, 109, 108, 106, 105, 104, 102, 101,  99,  98,  97,  95,  94,  92,  91,  89

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        68,  47,  45,  38,  47,  42,  40,  37,  45,  40,  34,  32,  38,  37,  32,  29,

        /*Size 8 x 8*/
        64,  76,  48,  45,  43,  40,  37,  35,  76,  57,  47,  50,  49,  46,  42,  39,
        48,  47,  42,  43,  43,  42,  39,  37,  45,  50,  43,  40,  38,  37,  36,  35,
        43,  49,  43,  38,  36,  35,  34,  32,  40,  46,  42,  37,  35,  33,  32,  31,
        37,  42,  39,  36,  34,  32,  30,  29,  35,  39,  37,  35,  32,  31,  29,  29,

        /*Size 16 x 16*/
        64,  70,  76,  62,  48,  47,  45,  44,  43,  42,  40,  39,  37,  36,  35,  35,
        70,  68,  67,  57,  47,  47,  48,  47,  46,  45,  43,  41,  40,  38,  37,  37,
        76,  67,  57,  52,  47,  48,  50,  49,  49,  47,  46,  44,  42,  41,  39,  39,
        62,  57,  52,  48,  44,  45,  46,  46,  46,  45,  44,  42,  41,  39,  38,  38,
        48,  47,  47,  44,  42,  42,  43,  43,  43,  42,  42,  40,  39,  38,  37,  37,
        47,  47,  48,  45,  42,  42,  41,  41,  41,  40,  39,  39,  38,  37,  36,  36,
        45,  48,  50,  46,  43,  41,  40,  39,  38,  38,  37,  37,  36,  35,  35,  35,
        44,  47,  49,  46,  43,  41,  39,  38,  37,  37,  36,  35,  35,  34,  33,  33,
        43,  46,  49,  46,  43,  41,  38,  37,  36,  35,  35,  34,  34,  33,  32,  32,
        42,  45,  47,  45,  42,  40,  38,  37,  35,  34,  34,  33,  33,  32,  32,  32,
        40,  43,  46,  44,  42,  39,  37,  36,  35,  34,  33,  32,  32,  31,  31,  31,
        39,  41,  44,  42,  40,  39,  37,  35,  34,  33,  32,  32,  31,  30,  30,  30,
        37,  40,  42,  41,  39,  38,  36,  35,  34,  33,  32,  31,  30,  30,  29,  29,
        36,  38,  41,  39,  38,  37,  35,  34,  33,  32,  31,  30,  30,  29,  29,  29,
        35,  37,  39,  38,  37,  36,  35,  33,  32,  32,  31,  30,  29,  29,  29,  29,
        35,  37,  39,  38,  37,  36,  35,  33,  32,  32,  31,  30,  29,  29,  29,  29,

        /*Size 32 x 32*/
        64,  67,  70,  73,  76,  69,  62,  55,  48,  48,  47,  46,  45,  45,  44,  44,
        67,  68,  69,  70,  71,  65,  60,  54,  48,  47,  47,  47,  46,  46,  46,  45,
        70,  69,  68,  67,  67,  62,  57,  52,  47,  47,  47,  47,  48,  47,  47,  46,
        73,  70,  67,  65,  62,  58,  54,  51,  47,  47,  48,  48,  49,  48,  48,  48,
        76,  71,  67,  62,  57,  54,  52,  49,  47,  47,  48,  49,  50,  50,  49,  49,
        69,  65,  62,  58,  54,  52,  50,  48,  45,  46,  47,  47,  48,  48,  48,  47,
        62,  60,  57,  54,  52,  50,  48,  46,  44,  45,  45,  46,  46,  46,  46,  46,
        55,  54,  52,  51,  49,  48,  46,  44,  43,  43,  44,  44,  45,  44,  44,  44,
        48,  48,  47,  47,  47,  45,  44,  43,  42,  42,  42,  43,  43,  43,  43,  43,
        48,  47,  47,  47,  47,  46,  45,  43,  42,  42,  42,  42,  42,  42,  42,  42,
        47,  47,  47,  48,  48,  47,  45,  44,  42,  42,  42,  41,  41,  41,  41,  41,
        46,  47,  47,  48,  49,  47,  46,  44,  43,  42,  41,  41,  40,  40,  40,  40,
        45,  46,  48,  49,  50,  48,  46,  45,  43,  42,  41,  40,  40,  39,  39,  39,
        45,  46,  47,  48,  50,  48,  46,  44,  43,  42,  41,  40,  39,  39,  38,  38,
        44,  46,  47,  48,  49,  48,  46,  44,  43,  42,  41,  40,  39,  38,  38,  38,
        44,  45,  46,  48,  49,  47,  46,  44,  43,  42,  41,  40,  39,  38,  38,  37,

        /*Size 64 x 64*/
        64,  66,  67,  69,  70,  72,  73,  75,  76,  73,  69,  66,  62,  59,  55,  52,
        66,  67,  68,  69,  70,  71,  72,  73,  74,  70,  67,  64,  61,  58,  54,  51,
        67,  68,  68,  69,  69,  70,  70,  71,  71,  68,  65,  62,  60,  57,  54,  51,
        69,  69,  69,  69,  69,  69,  69,  69,  69,  66,  64,  61,  58,  56,  53,  50,
        70,  70,  69,  69,  68,  68,  67,  67,  67,  64,  62,  59,  57,  55,  52,  50,
        72,  71,  70,  69,  68,  67,  66,  65,  64,  62,  60,  58,  56,  54,  51,  49,
        73,  72,  70,  69,  67,  66,  65,  63,  62,  60,  58,  56,  54,  52,  51,  49,
        75,  73,  71,  69,  67,  65,  63,  61,  59,  58,  56,  55,  53,  51,  50,  48,
        76,  74,  71,  69,  67,  64,  62,  59,  57,  56,  54,  53,  52,  50,  49,  48,
        73,  70,  68,  66,  64,  62,  60,  58,  56,  54,  53,  52,  51,  50,  48,  47,
        69,  67,  65,  64,  62,  60,  58,  56,  54,  53,  52,  51,  50,  49,  48,  46,
        66,  64,  62,  61,  59,  58,  56,  55,  53,  52,  51,  50,  49,  48,  47,  46,
        62,  61,  60,  58,  57,  56,  54,  53,  52,  51,  50,  49,  48,  47,  46,  45,
        59,  58,  57,  56,  55,  54,  52,  51,  50,  50,  49,  48,  47,  46,  45,  44,
        55,  54,  54,  53,  52,  51,  51,  50,  49,  48,  48,  47,  46,  45,  44,  44,
        52,  51,  51,  50,  50,  49,  49,  48,  48,  47,  46,  46,  45,  44,  44,  43,

        /*Size 128 x 128*/
        64,  65,  66,  66,  67,  68,  69,  69,  70,  71,  72,  72,  73,  74,  75,  75,
        65,  65,  66,  67,  67,  68,  69,  69,  70,  70,  71,  72,  72,  73,  74,  74,
        66,  66,  67,  67,  68,  68,  69,  69,  70,  70,  71,  71,  72,  72,  73,  73,
        66,  67,  67,  67,  68,  68,  69,  69,  69,  70,  70,  71,  71,  71,  72,  72,
        67,  67,  68,  68,  68,  68,  69,  69,  69,  69,  70,  70,  70,  70,  71,  71,
        68,  68,  68,  68,  68,  68,  69,  69,  69,  69,  69,  69,  69,  70,  70,  70,
        69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,
        69,  69,  69,  69,  69,  69,  69,  69,  68,  68,  68,  68,  68,  68,  68,  68,
        70,  70,  70,  69,  69,  69,  69,  68,  68,  68,  68,  68,  67,  67,  67,  67,
        71,  70,  70,  70,  69,  69,  69,  68,  68,  68,  67,  67,  67,  66,  66,  66,
        72,  71,  71,  70,  70,  69,  69,  68,  68,  67,  67,  66,  66,  66,  65,  65,
        72,  72,  71,  71,  70,  69,  69,  68,  68,  67,  66,  66,  65,  65,  64,  64,
        73,  72,  72,  71,  70,  69,  69,  68,  67,  67,  66,  65,  65,  64,  63,  62,
        74,  73,  72,  71,  70,  70,  69,  68,  67,  66,  66,  65,  64,  63,  62,  61,
        75,  74,  73,  72,  71,  70,  69,  68,  67,  66,  65,  64,  63,  62,  61,  60,
        75,  74,  73,  72,  71,  70,  69,  68,  67,  66,  65,  64,  62,  61,  60,  59

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        107,  77,  72,  63,  77,  68,  66,  61,  72,  66,  58,  54,  63,  61,  54,  51,

        /*Size 8 x 8*/
        101, 118,  78,  73,  71,  66,  62,  58, 118,  90,  75,  80,  79,  74,  69,  64,
        78,  75,  69,  70,  70,  68,  65,  62,  73,  80,  70,  65,  64,  62,  60,  58,
        71,  79,  70,  64,  60,  58,  57,  55,  66,  74,  68,  62,  58,  56,  54,  53,
        62,  69,  65,  60,  57,  54,  52,  51,  58,  64,  62,  58,  55,  53,  51,  49,

        /*Size 16 x 16*/
        101, 109, 118,  98,  78,  76,  73,  72,  71,  68,  66,  64,  62,  60,  58,  58,
        109, 107, 104,  90,  77,  77,  77,  76,  75,  72,  70,  68,  66,  63,  61,  61,
        118, 104,  90,  83,  75,  78,  80,  79,  79,  76,  74,  72,  69,  67,  64,  64,
        98,  90,  83,  77,  72,  73,  75,  75,  74,  73,  71,  69,  67,  65,  63,  63,
        78,  77,  75,  72,  69,  69,  70,  70,  70,  69,  68,  67,  65,  63,  62,  62,
        76,  77,  78,  73,  69,  68,  68,  67,  67,  66,  65,  64,  63,  61,  60,  60,
        73,  77,  80,  75,  70,  68,  65,  64,  64,  63,  62,  61,  60,  59,  58,  58,
        72,  76,  79,  75,  70,  67,  64,  63,  62,  61,  60,  59,  58,  57,  57,  57,
        71,  75,  79,  74,  70,  67,  64,  62,  60,  59,  58,  57,  57,  56,  55,  55,
        68,  72,  76,  73,  69,  66,  63,  61,  59,  58,  57,  56,  55,  54,  54,  54,
        66,  70,  74,  71,  68,  65,  62,  60,  58,  57,  56,  55,  54,  53,  53,  53,
        64,  68,  72,  69,  67,  64,  61,  59,  57,  56,  55,  54,  53,  52,  52,  52,
        62,  66,  69,  67,  65,  63,  60,  58,  57,  55,  54,  53,  52,  51,  51,  51,
        60,  63,  67,  65,  63,  61,  59,  57,  56,  54,  53,  52,  51,  51,  50,  50,
        58,  61,  64,  63,  62,  60,  58,  57,  55,  54,  53,  52,  51,  50,  49,  49,
        58,  61,  64,  63,  62,  60,  58,  57,  55,  54,  53,  52,  51,  50,  49,  49,

        /*Size 32 x 32*/
        101, 105, 109, 113, 118, 108,  98,  88,  78,  77,  76,  74,  73,  73,  72,  71,
        105, 106, 108, 109, 111, 102,  94,  86,  77,  77,  76,  75,  75,  74,  74,  73,
        109, 108, 107, 105, 104,  97,  90,  83,  77,  77,  77,  77,  77,  76,  76,  75,
        113, 109, 105, 101,  97,  92,  87,  81,  76,  76,  77,  78,  78,  78,  77,  77,
        118, 111, 104,  97,  90,  87,  83,  79,  75,  76,  78,  79,  80,  80,  79,  79,
        108, 102,  97,  92,  87,  83,  80,  77,  74,  75,  76,  77,  78,  77,  77,  77,
        98,  94,  90,  87,  83,  80,  77,  75,  72,  73,  73,  74,  75,  75,  75,  74,
        88,  86,  83,  81,  79,  77,  75,  72,  70,  71,  71,  72,  73,  72,  72,  72,
        78,  77,  77,  76,  75,  74,  72,  70,  69,  69,  69,  70,  70,  70,  70,  70,
        77,  77,  77,  76,  76,  75,  73,  71,  69,  69,  69,  69,  69,  69,  69,  68,
        76,  76,  77,  77,  78,  76,  73,  71,  69,  69,  68,  68,  68,  67,  67,  67,
        74,  75,  77,  78,  79,  77,  74,  72,  70,  69,  68,  67,  66,  66,  66,  65,
        73,  75,  77,  78,  80,  78,  75,  73,  70,  69,  68,  66,  65,  65,  64,  64,
        73,  74,  76,  78,  80,  77,  75,  72,  70,  69,  67,  66,  65,  64,  64,  63,
        72,  74,  76,  77,  79,  77,  75,  72,  70,  69,  67,  66,  64,  64,  63,  62,
        71,  73,  75,  77,  79,  77,  74,  72,  70,  68,  67,  65,  64,  63,  62,  62,

        /*Size 64 x 64*/
        101, 103, 105, 107, 109, 111, 113, 116, 118, 113, 108, 103,  98,  93,  88,  83,
        103, 104, 106, 107, 108, 110, 111, 113, 114, 110, 105, 100,  96,  91,  87,  82,
        105, 106, 106, 107, 108, 109, 109, 110, 111, 107, 102,  98,  94,  90,  86,  81,
        107, 107, 107, 107, 107, 107, 107, 107, 107, 104, 100,  96,  92,  88,  84,  81,
        109, 108, 108, 107, 107, 106, 105, 105, 104, 101,  97,  94,  90,  87,  83,  80,
        111, 110, 109, 107, 106, 105, 103, 102, 101,  98,  94,  91,  88,  85,  82,  79,
        113, 111, 109, 107, 105, 103, 101,  99,  97,  94,  92,  89,  87,  84,  81,  79,
        116, 113, 110, 107, 105, 102,  99,  96,  94,  91,  89,  87,  85,  82,  80,  78,
        118, 114, 111, 107, 104, 101,  97,  94,  90,  88,  87,  85,  83,  81,  79,  77,
        113, 110, 107, 104, 101,  98,  94,  91,  88,  87,  85,  83,  81,  80,  78,  76,
        108, 105, 102, 100,  97,  94,  92,  89,  87,  85,  83,  82,  80,  78,  77,  75,
        103, 100,  98,  96,  94,  91,  89,  87,  85,  83,  82,  80,  79,  77,  76,  74,
        98,  96,  94,  92,  90,  88,  87,  85,  83,  81,  80,  79,  77,  76,  75,  73,
        93,  91,  90,  88,  87,  85,  84,  82,  81,  80,  78,  77,  76,  75,  73,  72,
        88,  87,  86,  84,  83,  82,  81,  80,  79,  78,  77,  76,  75,  73,  72,  71,
        83,  82,  81,  81,  80,  79,  79,  78,  77,  76,  75,  74,  73,  72,  71,  70,

        /*Size 128 x 128*/
        101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 115, 116, 117,
        102, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 112, 113, 114, 115,
        103, 103, 104, 105, 106, 106, 107, 108, 108, 109, 110, 111, 111, 112, 113, 114,
        104, 104, 105, 105, 106, 107, 107, 108, 108, 109, 109, 110, 110, 111, 111, 112,
        105, 105, 106, 106, 106, 107, 107, 107, 108, 108, 109, 109, 109, 110, 110, 110,
        106, 106, 106, 107, 107, 107, 107, 107, 108, 108, 108, 108, 108, 109, 109, 109,
        107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
        108, 108, 108, 108, 107, 107, 107, 107, 107, 107, 107, 106, 106, 106, 106, 106,
        109, 109, 108, 108, 108, 108, 107, 107, 107, 106, 106, 106, 105, 105, 105, 104,
        110, 110, 109, 109, 108, 108, 107, 107, 106, 106, 105, 105, 104, 104, 103, 103,
        111, 111, 110, 109, 109, 108, 107, 107, 106, 105, 105, 104, 103, 103, 102, 101,
        112, 112, 111, 110, 109, 108, 107, 106, 106, 105, 104, 103, 102, 101, 101, 100,
        113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100,  99,  98,
        115, 113, 112, 111, 110, 109, 107, 106, 105, 104, 103, 101, 100,  99,  98,  97,
        116, 114, 113, 111, 110, 109, 107, 106, 105, 103, 102, 101,  99,  98,  96,  95,
        117, 115, 114, 112, 110, 109, 107, 106, 104, 103, 101, 100,  98,  97,  95,  94

      }
    }
  },
  {
    /* QM level 7*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        70,  67,  54,  46,  67,  56,  49,  45,  54,  49,  45,  43,  46,  45,  43,  42,

        /*Size 8 x 8*/
        64,  74,  71,  62,  55,  50,  47,  45,  74,  69,  71,  65,  58,  53,  49,  46,
        71,  71,  60,  56,  53,  50,  47,  45,  62,  65,  56,  51,  49,  47,  45,  44,
        55,  58,  53,  49,  46,  45,  44,  43,  50,  53,  50,  47,  45,  44,  43,  42,
        47,  49,  47,  45,  44,  43,  42,  42,  45,  46,  45,  44,  43,  42,  42,  41,

        /*Size 16 x 16*/
        64,  69,  74,  73,  71,  67,  62,  58,  55,  52,  50,  48,  47,  46,  45,  45,
        69,  70,  72,  71,  71,  67,  64,  60,  56,  54,  51,  49,  48,  46,  45,  45,
        74,  72,  69,  70,  71,  68,  65,  62,  58,  55,  53,  51,  49,  47,  46,  46,
        73,  71,  70,  67,  65,  63,  61,  58,  55,  53,  51,  49,  48,  47,  46,  46,
        71,  71,  71,  65,  60,  58,  56,  54,  53,  51,  50,  48,  47,  46,  45,  45,
        67,  67,  68,  63,  58,  56,  54,  52,  51,  49,  48,  47,  46,  45,  45,  45,
        62,  64,  65,  61,  56,  54,  51,  50,  49,  48,  47,  46,  45,  45,  44,  44,
        58,  60,  62,  58,  54,  52,  50,  49,  47,  47,  46,  45,  45,  44,  44,  44,
        55,  56,  58,  55,  53,  51,  49,  47,  46,  46,  45,  44,  44,  43,  43,  43,
        52,  54,  55,  53,  51,  49,  48,  47,  46,  45,  44,  44,  43,  43,  43,  43,
        50,  51,  53,  51,  50,  48,  47,  46,  45,  44,  44,  43,  43,  42,  42,  42,
        48,  49,  51,  49,  48,  47,  46,  45,  44,  44,  43,  43,  42,  42,  42,  42,
        47,  48,  49,  48,  47,  46,  45,  45,  44,  43,  43,  42,  42,  42,  42,  42,
        46,  46,  47,  47,  46,  45,  45,  44,  43,  43,  42,  42,  42,  42,  41,  41,
        45,  45,  46,  46,  45,  45,  44,  44,  43,  43,  42,  42,  42,  41,  41,  41,
        45,  45,  46,  46,  45,  45,  44,  44,  43,  43,  42,  42,  42,  41,  41,  41,

        /*Size 32 x 32*/
        64,  67,  69,  72,  74,  73,  73,  72,  71,  69,  67,  64,  62,  60,  58,  57,
        67,  68,  70,  71,  73,  72,  72,  71,  71,  69,  67,  65,  63,  61,  59,  57,
        69,  70,  70,  71,  72,  71,  71,  71,  71,  69,  67,  65,  64,  62,  60,  58,
        72,  71,  71,  71,  70,  70,  70,  71,  71,  69,  67,  66,  64,  62,  61,  59,
        74,  73,  72,  70,  69,  69,  70,  70,  71,  69,  68,  66,  65,  63,  62,  60,
        73,  72,  71,  70,  69,  69,  69,  68,  68,  67,  65,  64,  63,  61,  60,  58,
        73,  72,  71,  70,  70,  69,  67,  66,  65,  64,  63,  62,  61,  59,  58,  57,
        72,  71,  71,  71,  70,  68,  66,  64,  62,  61,  60,  59,  58,  57,  56,  55,
        71,  71,  71,  71,  71,  68,  65,  62,  60,  59,  58,  57,  56,  55,  54,  54,
        69,  69,  69,  69,  69,  67,  64,  61,  59,  58,  57,  56,  55,  54,  53,  52,
        67,  67,  67,  67,  68,  65,  63,  60,  58,  57,  56,  55,  54,  53,  52,  51,
        64,  65,  65,  66,  66,  64,  62,  59,  57,  56,  55,  54,  52,  52,  51,  50,
        62,  63,  64,  64,  65,  63,  61,  58,  56,  55,  54,  52,  51,  51,  50,  49,
        60,  61,  62,  62,  63,  61,  59,  57,  55,  54,  53,  52,  51,  50,  49,  49,
        58,  59,  60,  61,  62,  60,  58,  56,  54,  53,  52,  51,  50,  49,  49,  48,
        57,  57,  58,  59,  60,  58,  57,  55,  54,  52,  51,  50,  49,  49,  48,  47,

        /*Size 64 x 64*/
        64,  65,  67,  68,  69,  70,  72,  73,  74,  74,  73,  73,  73,  72,  72,  71,
        65,  66,  67,  68,  69,  70,  72,  73,  74,  73,  73,  73,  72,  72,  72,  71,
        67,  67,  68,  69,  70,  71,  71,  72,  73,  73,  72,  72,  72,  72,  71,  71,
        68,  68,  69,  70,  70,  71,  71,  72,  72,  72,  72,  72,  72,  71,  71,  71,
        69,  69,  70,  70,  70,  71,  71,  71,  72,  72,  71,  71,  71,  71,  71,  71,
        70,  70,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,
        72,  72,  71,  71,  71,  71,  71,  70,  70,  70,  70,  70,  70,  71,  71,  71,
        73,  73,  72,  72,  71,  71,  70,  70,  70,  70,  70,  70,  70,  70,  70,  70,
        74,  74,  73,  72,  72,  71,  70,  70,  69,  69,  69,  70,  70,  70,  70,  70,
        74,  73,  73,  72,  72,  71,  70,  70,  69,  69,  69,  69,  69,  69,  69,  69,
        73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  69,  69,  69,  68,  68,  68,
        73,  73,  72,  72,  71,  71,  70,  70,  70,  69,  69,  68,  68,  68,  67,  67,
        73,  72,  72,  72,  71,  71,  70,  70,  70,  69,  69,  68,  67,  67,  66,  66,
        72,  72,  72,  71,  71,  71,  71,  70,  70,  69,  68,  68,  67,  66,  65,  65,
        72,  72,  71,  71,  71,  71,  71,  70,  70,  69,  68,  67,  66,  65,  64,  63,
        71,  71,  71,  71,  71,  71,  71,  70,  70,  69,  68,  67,  66,  65,  63,  62,

        /*Size 128 x 128*/
        64,  65,  65,  66,  67,  67,  68,  68,  69,  70,  70,  71,  72,  72,  73,  74,
        65,  65,  66,  66,  67,  68,  68,  69,  69,  70,  70,  71,  72,  72,  73,  73,
        65,  66,  66,  67,  67,  68,  68,  69,  69,  70,  70,  71,  72,  72,  73,  73,
        66,  66,  67,  67,  68,  68,  69,  69,  70,  70,  71,  71,  71,  72,  72,  73,
        67,  67,  67,  68,  68,  69,  69,  69,  70,  70,  71,  71,  71,  72,  72,  73,
        67,  68,  68,  68,  69,  69,  69,  70,  70,  70,  71,  71,  71,  72,  72,  72,
        68,  68,  68,  69,  69,  69,  70,  70,  70,  70,  71,  71,  71,  71,  72,  72,
        68,  69,  69,  69,  69,  70,  70,  70,  70,  70,  71,  71,  71,  71,  72,  72,
        69,  69,  69,  70,  70,  70,  70,  70,  70,  71,  71,  71,  71,  71,  71,  71,
        70,  70,  70,  70,  70,  70,  70,  70,  71,  71,  71,  71,  71,  71,  71,  71,
        70,  70,  70,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,
        71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,
        72,  72,  72,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  71,  70,  70,
        72,  72,  72,  72,  72,  72,  71,  71,  71,  71,  71,  71,  71,  70,  70,  70,
        73,  73,  73,  72,  72,  72,  72,  72,  71,  71,  71,  71,  70,  70,  70,  70,
        74,  73,  73,  73,  73,  72,  72,  72,  71,  71,  71,  71,  70,  70,  70,  70

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        110, 103,  75,  60, 103,  79,  66,  57,  75,  66,  56,  52,  60,  57,  52,  49,

        /*Size 8 x 8*/
        97, 118, 112,  93,  77,  67,  60,  56, 118, 107, 111,  99,  85,  73,  65,  59,
        112, 111,  88,  80,  73,  67,  61,  57,  93,  99,  80,  70,  64,  61,  57,  55,
        77,  85,  73,  64,  59,  56,  54,  52,  67,  73,  67,  61,  56,  54,  52,  51,
        60,  65,  61,  57,  54,  52,  50,  49,  56,  59,  57,  55,  52,  51,  49,  49,

        /*Size 16 x 16*/
        97, 108, 118, 115, 112, 102,  93,  85,  77,  72,  67,  63,  60,  58,  56,  56,
        108, 110, 113, 112, 111, 103,  96,  88,  81,  75,  70,  66,  62,  60,  57,  57,
        118, 113, 107, 109, 111, 105,  99,  92,  85,  79,  73,  69,  65,  62,  59,  59,
        115, 112, 109, 104,  99,  94,  90,  84,  79,  74,  70,  66,  63,  60,  58,  58,
        112, 111, 111,  99,  88,  84,  80,  77,  73,  70,  67,  64,  61,  59,  57,  57,
        102, 103, 105,  94,  84,  79,  75,  72,  69,  66,  64,  61,  59,  57,  56,  56,
        93,  96,  99,  90,  80,  75,  70,  67,  64,  62,  61,  59,  57,  56,  55,  55,
        85,  88,  92,  84,  77,  72,  67,  64,  62,  60,  58,  57,  56,  54,  53,  53,
        77,  81,  85,  79,  73,  69,  64,  62,  59,  58,  56,  55,  54,  53,  52,  52,
        72,  75,  79,  74,  70,  66,  62,  60,  58,  56,  55,  54,  53,  52,  51,  51,
        67,  70,  73,  70,  67,  64,  61,  58,  56,  55,  54,  53,  52,  51,  51,  51,
        63,  66,  69,  66,  64,  61,  59,  57,  55,  54,  53,  52,  51,  50,  50,  50,
        60,  62,  65,  63,  61,  59,  57,  56,  54,  53,  52,  51,  50,  50,  49,  49,
        58,  60,  62,  60,  59,  57,  56,  54,  53,  52,  51,  50,  50,  49,  49,  49,
        56,  57,  59,  58,  57,  56,  55,  53,  52,  51,  51,  50,  49,  49,  49,  49,
        56,  57,  59,  58,  57,  56,  55,  53,  52,  51,  51,  50,  49,  49,  49,  49,

        /*Size 32 x 32*/
        97, 102, 108, 113, 118, 117, 115, 113, 112, 107, 102,  97,  93,  89,  85,  81,
        102, 105, 109, 112, 116, 114, 113, 112, 111, 107, 103,  98,  94,  90,  87,  83,
        108, 109, 110, 111, 113, 112, 112, 112, 111, 107, 103, 100,  96,  92,  88,  85,
        113, 112, 111, 111, 110, 110, 110, 111, 111, 107, 104, 101,  97,  94,  90,  86,
        118, 116, 113, 110, 107, 108, 109, 110, 111, 108, 105, 102,  99,  95,  92,  88,
        117, 114, 112, 110, 108, 107, 106, 106, 105, 102, 100,  97,  94,  91,  88,  85,
        115, 113, 112, 110, 109, 106, 104, 102,  99,  97,  94,  92,  90,  87,  84,  81,
        113, 112, 112, 111, 110, 106, 102,  98,  94,  91,  89,  87,  85,  83,  80,  78,
        112, 111, 111, 111, 111, 105,  99,  94,  88,  86,  84,  82,  80,  78,  77,  75,
        107, 107, 107, 107, 108, 102,  97,  91,  86,  84,  82,  80,  77,  76,  74,  72,
        102, 103, 103, 104, 105, 100,  94,  89,  84,  82,  79,  77,  75,  73,  72,  70,
        97,  98, 100, 101, 102,  97,  92,  87,  82,  80,  77,  75,  72,  71,  69,  68,
        93,  94,  96,  97,  99,  94,  90,  85,  80,  77,  75,  72,  70,  68,  67,  66,
        89,  90,  92,  94,  95,  91,  87,  83,  78,  76,  73,  71,  68,  67,  66,  64,
        85,  87,  88,  90,  92,  88,  84,  80,  77,  74,  72,  69,  67,  66,  64,  63,
        81,  83,  85,  86,  88,  85,  81,  78,  75,  72,  70,  68,  66,  64,  63,  62,

        /*Size 64 x 64*/
        97,  99, 102, 105, 108, 110, 113, 116, 118, 117, 117, 116, 115, 114, 113, 113,
        99, 102, 104, 106, 108, 110, 113, 115, 117, 116, 116, 115, 114, 114, 113, 112,
        102, 104, 105, 107, 109, 110, 112, 114, 116, 115, 114, 114, 113, 113, 112, 112,
        105, 106, 107, 108, 109, 111, 112, 113, 114, 114, 113, 113, 113, 112, 112, 112,
        108, 108, 109, 109, 110, 111, 111, 112, 113, 113, 112, 112, 112, 112, 112, 111,
        110, 110, 110, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
        113, 113, 112, 112, 111, 111, 111, 110, 110, 110, 110, 110, 110, 111, 111, 111,
        116, 115, 114, 113, 112, 111, 110, 109, 109, 109, 109, 109, 110, 110, 110, 110,
        118, 117, 116, 114, 113, 111, 110, 109, 107, 108, 108, 108, 109, 109, 110, 110,
        117, 116, 115, 114, 113, 111, 110, 109, 108, 108, 108, 108, 108, 108, 108, 108,
        117, 116, 114, 113, 112, 111, 110, 109, 108, 108, 107, 107, 106, 106, 106, 105,
        116, 115, 114, 113, 112, 111, 110, 109, 108, 108, 107, 106, 105, 104, 104, 103,
        115, 114, 113, 113, 112, 111, 110, 110, 109, 108, 106, 105, 104, 103, 102, 100,
        114, 114, 113, 112, 112, 111, 111, 110, 109, 108, 106, 104, 103, 101, 100,  98,
        113, 113, 112, 112, 112, 111, 111, 110, 110, 108, 106, 104, 102, 100,  98,  96,
        113, 112, 112, 112, 111, 111, 111, 110, 110, 108, 105, 103, 100,  98,  96,  93,

        /*Size 128 x 128*/
        97,  98,  99, 101, 102, 103, 105, 106, 108, 109, 110, 112, 113, 114, 116, 117,
        98,  99, 101, 102, 103, 104, 105, 107, 108, 109, 110, 111, 113, 114, 115, 116,
        99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 113, 114, 115, 116,
        101, 102, 103, 104, 105, 106, 107, 108, 108, 109, 110, 111, 112, 113, 114, 115,
        102, 103, 104, 105, 105, 106, 107, 108, 109, 110, 110, 111, 112, 113, 114, 115,
        103, 104, 105, 106, 106, 107, 108, 108, 109, 110, 111, 111, 112, 113, 113, 114,
        105, 105, 106, 107, 107, 108, 108, 109, 109, 110, 111, 111, 112, 112, 113, 114,
        106, 107, 107, 108, 108, 108, 109, 109, 110, 110, 111, 111, 112, 112, 113, 113,
        108, 108, 108, 108, 109, 109, 109, 110, 110, 110, 111, 111, 111, 112, 112, 112,
        109, 109, 109, 109, 110, 110, 110, 110, 110, 111, 111, 111, 111, 111, 112, 112,
        110, 110, 110, 110, 110, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
        112, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
        113, 113, 113, 112, 112, 112, 112, 112, 111, 111, 111, 111, 111, 111, 110, 110,
        114, 114, 114, 113, 113, 113, 112, 112, 112, 111, 111, 111, 111, 110, 110, 110,
        116, 115, 115, 114, 114, 113, 113, 113, 112, 112, 111, 111, 110, 110, 109, 109,
        117, 116, 116, 115, 115, 114, 114, 113, 112, 112, 111, 111, 110, 110, 109, 108

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        67,  52,  50,  45,  52,  48,  46,  43,  50,  46,  41,  39,  45,  43,  39,  37,

        /*Size 8 x 8*/
        64,  74,  51,  51,  49,  47,  44,  42,  74,  58,  52,  55,  54,  51,  48,  45,
        51,  52,  48,  49,  49,  48,  46,  44,  51,  55,  49,  46,  45,  44,  43,  41,
        49,  54,  49,  45,  43,  41,  40,  40,  47,  51,  48,  44,  41,  40,  39,  38,
        44,  48,  46,  43,  40,  39,  38,  37,  42,  45,  44,  41,  40,  38,  37,  36,

        /*Size 16 x 16*/
        64,  69,  74,  62,  51,  51,  51,  50,  49,  48,  47,  45,  44,  43,  42,  42,
        69,  67,  66,  59,  52,  52,  53,  52,  52,  50,  49,  47,  46,  45,  43,  43,
        74,  66,  58,  55,  52,  53,  55,  54,  54,  53,  51,  50,  48,  47,  45,  45,
        62,  59,  55,  52,  50,  51,  52,  52,  51,  50,  49,  48,  47,  46,  44,  44,
        51,  52,  52,  50,  48,  48,  49,  49,  49,  48,  48,  47,  46,  45,  44,  44,
        51,  52,  53,  51,  48,  48,  47,  47,  47,  46,  46,  45,  44,  43,  42,  42,
        51,  53,  55,  52,  49,  47,  46,  45,  45,  44,  44,  43,  43,  42,  41,  41,
        50,  52,  54,  52,  49,  47,  45,  44,  44,  43,  43,  42,  42,  41,  40,  40,
        49,  52,  54,  51,  49,  47,  45,  44,  43,  42,  41,  41,  40,  40,  40,  40,
        48,  50,  53,  50,  48,  46,  44,  43,  42,  41,  41,  40,  40,  39,  39,  39,
        47,  49,  51,  49,  48,  46,  44,  43,  41,  41,  40,  39,  39,  38,  38,  38,
        45,  47,  50,  48,  47,  45,  43,  42,  41,  40,  39,  39,  38,  38,  37,  37,
        44,  46,  48,  47,  46,  44,  43,  42,  40,  40,  39,  38,  38,  37,  37,  37,
        43,  45,  47,  46,  45,  43,  42,  41,  40,  39,  38,  38,  37,  37,  36,  36,
        42,  43,  45,  44,  44,  42,  41,  40,  40,  39,  38,  37,  37,  36,  36,  36,
        42,  43,  45,  44,  44,  42,  41,  40,  40,  39,  38,  37,  37,  36,  36,  36,

        /*Size 32 x 32*/
        64,  66,  69,  71,  74,  68,  62,  57,  51,  51,  51,  51,  51,  50,  50,  49,
        66,  67,  68,  69,  70,  65,  61,  56,  51,  51,  52,  52,  52,  51,  51,  51,
        69,  68,  67,  67,  66,  62,  59,  55,  52,  52,  52,  52,  53,  52,  52,  52,
        71,  69,  67,  64,  62,  59,  57,  54,  52,  52,  53,  53,  54,  54,  53,  53,
        74,  70,  66,  62,  58,  57,  55,  53,  52,  53,  53,  54,  55,  55,  54,  54,
        68,  65,  62,  59,  57,  55,  54,  52,  51,  51,  52,  53,  53,  53,  53,  53,
        62,  61,  59,  57,  55,  54,  52,  51,  50,  50,  51,  51,  52,  52,  52,  51,
        57,  56,  55,  54,  53,  52,  51,  50,  49,  49,  49,  50,  50,  50,  50,  50,
        51,  51,  52,  52,  52,  51,  50,  49,  48,  48,  48,  48,  49,  49,  49,  49,
        51,  51,  52,  52,  53,  51,  50,  49,  48,  48,  48,  48,  48,  48,  48,  48,
        51,  52,  52,  53,  53,  52,  51,  49,  48,  48,  48,  47,  47,  47,  47,  47,
        51,  52,  52,  53,  54,  53,  51,  50,  48,  48,  47,  47,  46,  46,  46,  46,
        51,  52,  53,  54,  55,  53,  52,  50,  49,  48,  47,  46,  46,  46,  45,  45,
        50,  51,  52,  54,  55,  53,  52,  50,  49,  48,  47,  46,  46,  45,  45,  45,
        50,  51,  52,  53,  54,  53,  52,  50,  49,  48,  47,  46,  45,  45,  44,  44,
        49,  51,  52,  53,  54,  53,  51,  50,  49,  48,  47,  46,  45,  45,  44,  44,

        /*Size 64 x 64*/
        64,  65,  66,  68,  69,  70,  71,  72,  74,  71,  68,  65,  62,  60,  57,  54,
        65,  66,  67,  68,  68,  69,  70,  71,  72,  69,  67,  64,  61,  59,  56,  54,
        66,  67,  67,  68,  68,  68,  69,  69,  70,  67,  65,  63,  61,  58,  56,  54,
        68,  68,  68,  68,  68,  68,  68,  68,  68,  66,  64,  62,  60,  58,  56,  53,
        69,  68,  68,  68,  67,  67,  67,  66,  66,  64,  62,  60,  59,  57,  55,  53,
        70,  69,  68,  68,  67,  66,  65,  65,  64,  62,  61,  59,  58,  56,  55,  53,
        71,  70,  69,  68,  67,  65,  64,  63,  62,  61,  59,  58,  57,  56,  54,  53,
        72,  71,  69,  68,  66,  65,  63,  62,  60,  59,  58,  57,  56,  55,  54,  53,
        74,  72,  70,  68,  66,  64,  62,  60,  58,  57,  57,  56,  55,  54,  53,  53,
        71,  69,  67,  66,  64,  62,  61,  59,  57,  57,  56,  55,  54,  54,  53,  52,
        68,  67,  65,  64,  62,  61,  59,  58,  57,  56,  55,  54,  54,  53,  52,  51,
        65,  64,  63,  62,  60,  59,  58,  57,  56,  55,  54,  54,  53,  52,  52,  51,
        62,  61,  61,  60,  59,  58,  57,  56,  55,  54,  54,  53,  52,  52,  51,  50,
        60,  59,  58,  58,  57,  56,  56,  55,  54,  54,  53,  52,  52,  51,  50,  50,
        57,  56,  56,  56,  55,  55,  54,  54,  53,  53,  52,  52,  51,  50,  50,  49,
        54,  54,  54,  53,  53,  53,  53,  53,  53,  52,  51,  51,  50,  50,  49,  49,

        /*Size 128 x 128*/
        64,  65,  65,  66,  66,  67,  68,  68,  69,  69,  70,  71,  71,  72,  72,  73,
        65,  65,  66,  66,  67,  67,  68,  68,  69,  69,  70,  70,  71,  71,  72,  72,
        65,  66,  66,  66,  67,  67,  68,  68,  68,  69,  69,  70,  70,  70,  71,  71,
        66,  66,  66,  67,  67,  67,  68,  68,  68,  69,  69,  69,  69,  70,  70,  70,
        66,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  69,  69,  69,  69,  69,
        67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  68,  68,  69,  69,
        68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        68,  68,  68,  68,  68,  68,  68,  68,  67,  67,  67,  67,  67,  67,  67,  67,
        69,  69,  68,  68,  68,  68,  68,  67,  67,  67,  67,  67,  67,  66,  66,  66,
        69,  69,  69,  69,  68,  68,  68,  67,  67,  67,  67,  66,  66,  66,  65,  65,
        70,  70,  69,  69,  68,  68,  68,  67,  67,  67,  66,  66,  65,  65,  65,  64,
        71,  70,  70,  69,  69,  68,  68,  67,  67,  66,  66,  65,  65,  64,  64,  63,
        71,  71,  70,  69,  69,  68,  68,  67,  67,  66,  65,  65,  64,  64,  63,  63,
        72,  71,  70,  70,  69,  68,  68,  67,  66,  66,  65,  64,  64,  63,  62,  62,
        72,  72,  71,  70,  69,  69,  68,  67,  66,  65,  65,  64,  63,  62,  62,  61,
        73,  72,  71,  70,  69,  69,  68,  67,  66,  65,  64,  63,  63,  62,  61,  60

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        90,  72,  70,  63,  72,  67,  65,  62,  70,  65,  59,  57,  63,  62,  57,  54,

        /*Size 8 x 8*/
        86,  98,  71,  71,  69,  65,  62,  60,  98,  80,  72,  75,  74,  71,  67,  64,
        71,  72,  67,  68,  68,  67,  64,  62,  71,  75,  68,  65,  63,  62,  61,  59,
        69,  74,  68,  63,  61,  59,  58,  57,  65,  71,  67,  62,  59,  58,  56,  55,
        62,  67,  64,  61,  58,  56,  55,  54,  60,  64,  62,  59,  57,  55,  54,  53,

        /*Size 16 x 16*/
        86,  92,  98,  84,  71,  71,  71,  70,  69,  67,  65,  64,  62,  61,  60,  60,
        92,  90,  89,  80,  72,  72,  73,  72,  71,  70,  68,  66,  65,  63,  62,  62,
        98,  89,  80,  76,  72,  74,  75,  75,  74,  73,  71,  69,  67,  66,  64,  64,
        84,  80,  76,  73,  69,  71,  72,  71,  71,  70,  69,  67,  66,  64,  63,  63,
        71,  72,  72,  69,  67,  68,  68,  68,  68,  67,  67,  65,  64,  63,  62,  62,
        71,  72,  74,  71,  68,  67,  66,  66,  66,  65,  64,  64,  63,  62,  61,  61,
        71,  73,  75,  72,  68,  66,  65,  64,  63,  63,  62,  62,  61,  60,  59,  59,
        70,  72,  75,  71,  68,  66,  64,  63,  62,  61,  61,  60,  60,  59,  58,  58,
        69,  71,  74,  71,  68,  66,  63,  62,  61,  60,  59,  59,  58,  58,  57,  57,
        67,  70,  73,  70,  67,  65,  63,  61,  60,  59,  58,  58,  57,  57,  56,  56,
        65,  68,  71,  69,  67,  64,  62,  61,  59,  58,  58,  57,  56,  56,  55,  55,
        64,  66,  69,  67,  65,  64,  62,  60,  59,  58,  57,  56,  56,  55,  55,  55,
        62,  65,  67,  66,  64,  63,  61,  60,  58,  57,  56,  56,  55,  54,  54,  54,
        61,  63,  66,  64,  63,  62,  60,  59,  58,  57,  56,  55,  54,  54,  54,  54,
        60,  62,  64,  63,  62,  61,  59,  58,  57,  56,  55,  55,  54,  54,  53,  53,
        60,  62,  64,  63,  62,  61,  59,  58,  57,  56,  55,  55,  54,  54,  53,  53,

        /*Size 32 x 32*/
        86,  89,  92,  95,  98,  91,  84,  78,  71,  71,  71,  71,  71,  70,  70,  69,
        89,  90,  91,  92,  93,  88,  82,  77,  71,  71,  72,  72,  72,  71,  71,  70,
        92,  91,  90,  89,  89,  84,  80,  76,  72,  72,  72,  73,  73,  73,  72,  72,
        95,  92,  89,  87,  84,  81,  78,  75,  72,  72,  73,  73,  74,  74,  73,  73,
        98,  93,  89,  84,  80,  78,  76,  74,  72,  73,  74,  74,  75,  75,  75,  75,
        91,  88,  84,  81,  78,  76,  74,  72,  71,  71,  72,  73,  73,  73,  73,  73,
        84,  82,  80,  78,  76,  74,  73,  71,  69,  70,  71,  71,  72,  72,  71,  71,
        78,  77,  76,  75,  74,  72,  71,  70,  68,  69,  69,  69,  70,  70,  70,  70,
        71,  71,  72,  72,  72,  71,  69,  68,  67,  67,  68,  68,  68,  68,  68,  68,
        71,  71,  72,  72,  73,  71,  70,  69,  67,  67,  67,  67,  67,  67,  67,  67,
        71,  72,  72,  73,  74,  72,  71,  69,  68,  67,  67,  67,  66,  66,  66,  66,
        71,  72,  73,  73,  74,  73,  71,  69,  68,  67,  67,  66,  65,  65,  65,  65,
        71,  72,  73,  74,  75,  73,  72,  70,  68,  67,  66,  65,  65,  64,  64,  64,
        70,  71,  73,  74,  75,  73,  72,  70,  68,  67,  66,  65,  64,  64,  63,  63,
        70,  71,  72,  73,  75,  73,  71,  70,  68,  67,  66,  65,  64,  63,  63,  62,
        69,  70,  72,  73,  75,  73,  71,  70,  68,  67,  66,  65,  64,  63,  62,  62,

        /*Size 64 x 64*/
        86,  88,  89,  90,  92,  93,  95,  96,  98,  94,  91,  88,  84,  81,  78,  75,
        88,  89,  90,  91,  91,  92,  93,  94,  95,  92,  89,  86,  83,  80,  77,  74,
        89,  90,  90,  91,  91,  92,  92,  93,  93,  90,  88,  85,  82,  79,  77,  74,
        90,  91,  91,  91,  91,  91,  91,  91,  91,  88,  86,  84,  81,  79,  76,  74,
        92,  91,  91,  91,  90,  90,  89,  89,  89,  86,  84,  82,  80,  78,  76,  74,
        93,  92,  92,  91,  90,  89,  88,  87,  86,  84,  83,  81,  79,  77,  75,  73,
        95,  93,  92,  91,  89,  88,  87,  85,  84,  82,  81,  79,  78,  76,  75,  73,
        96,  94,  93,  91,  89,  87,  85,  84,  82,  80,  79,  78,  77,  75,  74,  73,
        98,  95,  93,  91,  89,  86,  84,  82,  80,  79,  78,  77,  76,  75,  74,  73,
        94,  92,  90,  88,  86,  84,  82,  80,  79,  78,  77,  76,  75,  74,  73,  72,
        91,  89,  88,  86,  84,  83,  81,  79,  78,  77,  76,  75,  74,  73,  72,  71,
        88,  86,  85,  84,  82,  81,  79,  78,  77,  76,  75,  74,  73,  72,  72,  71,
        84,  83,  82,  81,  80,  79,  78,  77,  76,  75,  74,  73,  73,  72,  71,  70,
        81,  80,  79,  79,  78,  77,  76,  75,  75,  74,  73,  72,  72,  71,  70,  70,
        78,  77,  77,  76,  76,  75,  75,  74,  74,  73,  72,  72,  71,  70,  70,  69,
        75,  74,  74,  74,  74,  73,  73,  73,  73,  72,  71,  71,  70,  70,  69,  68,

        /*Size 128 x 128*/
        86,  87,  88,  88,  89,  90,  90,  91,  92,  93,  93,  94,  95,  95,  96,  97,
        87,  88,  88,  89,  89,  90,  90,  91,  92,  92,  93,  93,  94,  95,  95,  96,
        88,  88,  89,  89,  90,  90,  91,  91,  91,  92,  92,  93,  93,  94,  94,  95,
        88,  89,  89,  89,  90,  90,  91,  91,  91,  92,  92,  92,  93,  93,  93,  94,
        89,  89,  90,  90,  90,  90,  91,  91,  91,  91,  92,  92,  92,  92,  93,  93,
        90,  90,  90,  90,  90,  90,  91,  91,  91,  91,  91,  91,  91,  91,  92,  92,
        90,  90,  91,  91,  91,  91,  91,  91,  91,  91,  91,  91,  91,  91,  91,  91,
        91,  91,  91,  91,  91,  91,  91,  90,  90,  90,  90,  90,  90,  90,  90,  90,
        92,  92,  91,  91,  91,  91,  91,  90,  90,  90,  90,  90,  89,  89,  89,  89,
        93,  92,  92,  92,  91,  91,  91,  90,  90,  90,  89,  89,  89,  88,  88,  88,
        93,  93,  92,  92,  92,  91,  91,  90,  90,  89,  89,  88,  88,  88,  87,  87,
        94,  93,  93,  92,  92,  91,  91,  90,  90,  89,  88,  88,  87,  87,  86,  86,
        95,  94,  93,  93,  92,  91,  91,  90,  89,  89,  88,  87,  87,  86,  85,  85,
        95,  95,  94,  93,  92,  91,  91,  90,  89,  88,  88,  87,  86,  85,  84,  84,
        96,  95,  94,  93,  93,  92,  91,  90,  89,  88,  87,  86,  85,  84,  84,  83,
        97,  96,  95,  94,  93,  92,  91,  90,  89,  88,  87,  86,  85,  84,  83,  82

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        67,  50,  48,  43,  50,  46,  44,  41,  48,  44,  39,  37,  43,  41,  37,  35,

        /*Size 8 x 8*/
        64,  74,  51,  49,  47,  44,  42,  40,  74,  58,  50,  52,  51,  49,  46,  43,
        51,  50,  46,  47,  47,  45,  44,  42,  49,  52,  47,  44,  43,  42,  41,  40,
        47,  51,  47,  43,  41,  40,  39,  38,  44,  49,  45,  42,  40,  38,  37,  36,
        42,  46,  44,  41,  39,  37,  36,  35,  40,  43,  42,  40,  38,  36,  35,  35,

        /*Size 16 x 16*/
        64,  69,  74,  62,  51,  50,  49,  48,  47,  46,  44,  43,  42,  41,  40,  40,
        69,  67,  66,  58,  50,  50,  50,  50,  49,  48,  47,  45,  44,  43,  42,  42,
        74,  66,  58,  54,  50,  51,  52,  52,  51,  50,  49,  47,  46,  45,  43,  43,
        62,  58,  54,  51,  48,  48,  49,  49,  49,  48,  47,  46,  45,  44,  42,  42,
        51,  50,  50,  48,  46,  46,  47,  47,  47,  46,  45,  44,  44,  43,  42,  42,
        50,  50,  51,  48,  46,  46,  45,  45,  45,  44,  44,  43,  42,  41,  41,  41,
        49,  50,  52,  49,  47,  45,  44,  43,  43,  42,  42,  41,  41,  40,  40,  40,
        48,  50,  52,  49,  47,  45,  43,  43,  42,  41,  41,  40,  40,  39,  39,  39,
        47,  49,  51,  49,  47,  45,  43,  42,  41,  40,  40,  39,  39,  38,  38,  38,
        46,  48,  50,  48,  46,  44,  42,  41,  40,  39,  39,  38,  38,  37,  37,  37,
        44,  47,  49,  47,  45,  44,  42,  41,  40,  39,  38,  38,  37,  37,  36,  36,
        43,  45,  47,  46,  44,  43,  41,  40,  39,  38,  38,  37,  37,  36,  36,  36,
        42,  44,  46,  45,  44,  42,  41,  40,  39,  38,  37,  37,  36,  36,  35,  35,
        41,  43,  45,  44,  43,  41,  40,  39,  38,  37,  37,  36,  36,  35,  35,  35,
        40,  42,  43,  42,  42,  41,  40,  39,  38,  37,  36,  36,  35,  35,  35,  35,
        40,  42,  43,  42,  42,  41,  40,  39,  38,  37,  36,  36,  35,  35,  35,  35,

        /*Size 32 x 32*/
        64,  66,  69,  71,  74,  68,  62,  57,  51,  50,  50,  49,  49,  48,  48,  47,
        66,  67,  68,  69,  70,  65,  60,  55,  51,  50,  50,  50,  49,  49,  49,  48,
        69,  68,  67,  67,  66,  62,  58,  54,  50,  50,  50,  50,  50,  50,  50,  49,
        71,  69,  67,  64,  62,  59,  56,  53,  50,  50,  51,  51,  51,  51,  51,  50,
        74,  70,  66,  62,  58,  56,  54,  52,  50,  50,  51,  52,  52,  52,  52,  52,
        68,  65,  62,  59,  56,  54,  52,  50,  49,  49,  50,  50,  51,  51,  50,  50,
        62,  60,  58,  56,  54,  52,  51,  49,  48,  48,  48,  49,  49,  49,  49,  49,
        57,  55,  54,  53,  52,  50,  49,  48,  47,  47,  47,  48,  48,  48,  48,  48,
        51,  51,  50,  50,  50,  49,  48,  47,  46,  46,  46,  46,  47,  47,  47,  47,
        50,  50,  50,  50,  50,  49,  48,  47,  46,  46,  46,  46,  46,  46,  46,  46,
        50,  50,  50,  51,  51,  50,  48,  47,  46,  46,  46,  45,  45,  45,  45,  45,
        49,  50,  50,  51,  52,  50,  49,  48,  46,  46,  45,  45,  44,  44,  44,  44,
        49,  49,  50,  51,  52,  51,  49,  48,  47,  46,  45,  44,  44,  44,  43,  43,
        48,  49,  50,  51,  52,  51,  49,  48,  47,  46,  45,  44,  44,  43,  43,  43,
        48,  49,  50,  51,  52,  50,  49,  48,  47,  46,  45,  44,  43,  43,  43,  42,
        47,  48,  49,  50,  52,  50,  49,  48,  47,  46,  45,  44,  43,  43,  42,  42,

        /*Size 64 x 64*/
        64,  65,  66,  68,  69,  70,  71,  73,  74,  71,  68,  65,  62,  60,  57,  54,
        65,  66,  67,  68,  69,  69,  70,  71,  72,  69,  67,  64,  61,  59,  56,  53,
        66,  67,  67,  68,  68,  69,  69,  69,  70,  67,  65,  63,  60,  58,  55,  53,
        68,  68,  68,  68,  68,  68,  68,  68,  68,  66,  64,  61,  59,  57,  55,  53,
        69,  69,  68,  68,  67,  67,  67,  66,  66,  64,  62,  60,  58,  56,  54,  52,
        70,  69,  69,  68,  67,  66,  66,  65,  64,  62,  61,  59,  57,  55,  54,  52,
        71,  70,  69,  68,  67,  66,  64,  63,  62,  61,  59,  58,  56,  54,  53,  51,
        73,  71,  69,  68,  66,  65,  63,  62,  60,  59,  58,  56,  55,  54,  52,  51,
        74,  72,  70,  68,  66,  64,  62,  60,  58,  57,  56,  55,  54,  53,  52,  51,
        71,  69,  67,  66,  64,  62,  61,  59,  57,  56,  55,  54,  53,  52,  51,  50,
        68,  67,  65,  64,  62,  61,  59,  58,  56,  55,  54,  53,  52,  51,  50,  49,
        65,  64,  63,  61,  60,  59,  58,  56,  55,  54,  53,  52,  51,  51,  50,  49,
        62,  61,  60,  59,  58,  57,  56,  55,  54,  53,  52,  51,  51,  50,  49,  48,
        60,  59,  58,  57,  56,  55,  54,  54,  53,  52,  51,  51,  50,  49,  48,  48,
        57,  56,  55,  55,  54,  54,  53,  52,  52,  51,  50,  50,  49,  48,  48,  47,
        54,  53,  53,  53,  52,  52,  51,  51,  51,  50,  49,  49,  48,  48,  47,  47,

        /*Size 128 x 128*/
        64,  65,  65,  66,  66,  67,  68,  68,  69,  69,  70,  71,  71,  72,  73,  73,
        65,  65,  66,  66,  67,  67,  68,  68,  69,  69,  70,  70,  71,  71,  72,  72,
        65,  66,  66,  66,  67,  67,  68,  68,  69,  69,  69,  70,  70,  71,  71,  71,
        66,  66,  66,  67,  67,  67,  68,  68,  68,  69,  69,  69,  70,  70,  70,  71,
        66,  67,  67,  67,  67,  68,  68,  68,  68,  68,  69,  69,  69,  69,  69,  70,
        67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  68,  68,  69,  69,  69,
        68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  67,  67,  67,  67,  67,  67,
        69,  69,  69,  68,  68,  68,  68,  68,  67,  67,  67,  67,  67,  67,  66,  66,
        69,  69,  69,  69,  68,  68,  68,  68,  67,  67,  67,  66,  66,  66,  66,  65,
        70,  70,  69,  69,  69,  68,  68,  67,  67,  67,  66,  66,  66,  65,  65,  64,
        71,  70,  70,  69,  69,  68,  68,  67,  67,  66,  66,  65,  65,  65,  64,  64,
        71,  71,  70,  70,  69,  68,  68,  67,  67,  66,  66,  65,  64,  64,  63,  63,
        72,  71,  71,  70,  69,  69,  68,  67,  67,  66,  65,  65,  64,  63,  63,  62,
        73,  72,  71,  70,  69,  69,  68,  67,  66,  66,  65,  64,  63,  63,  62,  61,
        73,  72,  71,  71,  70,  69,  68,  67,  66,  65,  64,  64,  63,  62,  61,  60

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        94,  72,  69,  63,  72,  67,  65,  62,  69,  65,  59,  57,  63,  62,  57,  54,

        /*Size 8 x 8*/
        90, 102,  73,  70,  68,  65,  62,  60, 102,  82,  72,  75,  74,  71,  67,  64,
        73,  72,  67,  68,  68,  66,  64,  62,  70,  75,  68,  65,  63,  62,  61,  59,
        68,  74,  68,  63,  61,  59,  58,  57,  65,  71,  66,  62,  59,  58,  56,  55,
        62,  67,  64,  61,  58,  56,  55,  54,  60,  64,  62,  59,  57,  55,  54,  53,

        /*Size 16 x 16*/
        90,  96, 102,  87,  73,  72,  70,  69,  68,  67,  65,  64,  62,  61,  60,  60,
        96,  94,  92,  82,  72,  72,  73,  72,  71,  69,  68,  66,  65,  63,  62,  62,
        102,  92,  82,  77,  72,  73,  75,  74,  74,  72,  71,  69,  67,  65,  64,  64,
        87,  82,  77,  73,  69,  70,  71,  71,  71,  70,  69,  67,  66,  64,  63,  63,
        73,  72,  72,  69,  67,  67,  68,  68,  68,  67,  66,  65,  64,  63,  62,  62,
        72,  72,  73,  70,  67,  67,  66,  66,  66,  65,  64,  63,  63,  62,  61,  61,
        70,  73,  75,  71,  68,  66,  65,  64,  63,  63,  62,  62,  61,  60,  59,  59,
        69,  72,  74,  71,  68,  66,  64,  63,  62,  61,  61,  60,  60,  59,  58,  58,
        68,  71,  74,  71,  68,  66,  63,  62,  61,  60,  59,  59,  58,  58,  57,  57,
        67,  69,  72,  70,  67,  65,  63,  61,  60,  59,  58,  58,  57,  57,  56,  56,
        65,  68,  71,  69,  66,  64,  62,  61,  59,  58,  58,  57,  56,  56,  55,  55,
        64,  66,  69,  67,  65,  63,  62,  60,  59,  58,  57,  56,  56,  55,  55,  55,
        62,  65,  67,  66,  64,  63,  61,  60,  58,  57,  56,  56,  55,  55,  54,  54,
        61,  63,  65,  64,  63,  62,  60,  59,  58,  57,  56,  55,  55,  54,  54,  54,
        60,  62,  64,  63,  62,  61,  59,  58,  57,  56,  55,  55,  54,  54,  53,  53,
        60,  62,  64,  63,  62,  61,  59,  58,  57,  56,  55,  55,  54,  54,  53,  53,

        /*Size 32 x 32*/
        90,  93,  96,  99, 102,  94,  87,  80,  73,  73,  72,  71,  70,  70,  69,  69,
        93,  94,  95,  96,  97,  91,  85,  79,  73,  72,  72,  72,  71,  71,  71,  70,
        96,  95,  94,  93,  92,  87,  82,  77,  72,  72,  72,  72,  73,  72,  72,  71,
        99,  96,  93,  90,  87,  83,  80,  76,  72,  72,  73,  73,  74,  73,  73,  73,
        102,  97,  92,  87,  82,  80,  77,  74,  72,  72,  73,  74,  75,  75,  74,  74,
        94,  91,  87,  83,  80,  77,  75,  73,  70,  71,  72,  72,  73,  73,  73,  72,
        87,  85,  82,  80,  77,  75,  73,  71,  69,  70,  70,  71,  71,  71,  71,  71,
        80,  79,  77,  76,  74,  73,  71,  70,  68,  68,  69,  69,  70,  69,  69,  69,
        73,  73,  72,  72,  72,  70,  69,  68,  67,  67,  67,  68,  68,  68,  68,  68,
        73,  72,  72,  72,  72,  71,  70,  68,  67,  67,  67,  67,  67,  67,  67,  67,
        72,  72,  72,  73,  73,  72,  70,  69,  67,  67,  67,  66,  66,  66,  66,  66,
        71,  72,  72,  73,  74,  72,  71,  69,  68,  67,  66,  66,  65,  65,  65,  65,
        70,  71,  73,  74,  75,  73,  71,  70,  68,  67,  66,  65,  65,  64,  64,  64,
        70,  71,  72,  73,  75,  73,  71,  69,  68,  67,  66,  65,  64,  64,  63,  63,
        69,  71,  72,  73,  74,  73,  71,  69,  68,  67,  66,  65,  64,  63,  63,  62,
        69,  70,  71,  73,  74,  72,  71,  69,  68,  67,  66,  65,  64,  63,  62,  62,

        /*Size 64 x 64*/
        90,  91,  93,  94,  96,  97,  99, 100, 102,  98,  94,  91,  87,  84,  80,  77,
        91,  92,  93,  94,  95,  96,  97,  98,  99,  96,  93,  89,  86,  83,  80,  76,
        93,  93,  94,  94,  95,  95,  96,  96,  97,  94,  91,  88,  85,  82,  79,  76,
        94,  94,  94,  94,  94,  94,  94,  94,  94,  92,  89,  86,  83,  81,  78,  75,
        96,  95,  95,  94,  94,  93,  93,  92,  92,  89,  87,  85,  82,  80,  77,  75,
        97,  96,  95,  94,  93,  92,  91,  90,  89,  87,  85,  83,  81,  79,  76,  74,
        99,  97,  96,  94,  93,  91,  90,  88,  87,  85,  83,  81,  80,  78,  76,  74,
        100,  98,  96,  94,  92,  90,  88,  87,  85,  83,  81,  80,  78,  77,  75,  73,
        102,  99,  97,  94,  92,  89,  87,  85,  82,  81,  80,  78,  77,  76,  74,  73,
        98,  96,  94,  92,  89,  87,  85,  83,  81,  80,  78,  77,  76,  75,  73,  72,
        94,  93,  91,  89,  87,  85,  83,  81,  80,  78,  77,  76,  75,  74,  73,  71,
        91,  89,  88,  86,  85,  83,  81,  80,  78,  77,  76,  75,  74,  73,  72,  71,
        87,  86,  85,  83,  82,  81,  80,  78,  77,  76,  75,  74,  73,  72,  71,  70,
        84,  83,  82,  81,  80,  79,  78,  77,  76,  75,  74,  73,  72,  71,  70,  69,
        80,  80,  79,  78,  77,  76,  76,  75,  74,  73,  73,  72,  71,  70,  70,  69,
        77,  76,  76,  75,  75,  74,  74,  73,  73,  72,  71,  71,  70,  69,  69,  68,

        /*Size 128 x 128*/
        90,  90,  91,  92,  93,  93,  94,  95,  96,  96,  97,  98,  99,  99, 100, 101,
        90,  91,  92,  92,  93,  93,  94,  95,  95,  96,  97,  97,  98,  98,  99, 100,
        91,  92,  92,  93,  93,  94,  94,  95,  95,  96,  96,  97,  97,  98,  98,  99,
        92,  92,  93,  93,  93,  94,  94,  94,  95,  95,  96,  96,  96,  97,  97,  98,
        93,  93,  93,  93,  94,  94,  94,  94,  95,  95,  95,  95,  96,  96,  96,  96,
        93,  93,  94,  94,  94,  94,  94,  94,  94,  95,  95,  95,  95,  95,  95,  95,
        94,  94,  94,  94,  94,  94,  94,  94,  94,  94,  94,  94,  94,  94,  94,  94,
        95,  95,  95,  94,  94,  94,  94,  94,  94,  94,  94,  94,  93,  93,  93,  93,
        96,  95,  95,  95,  95,  94,  94,  94,  94,  93,  93,  93,  93,  93,  92,  92,
        96,  96,  96,  95,  95,  95,  94,  94,  93,  93,  93,  92,  92,  92,  91,  91,
        97,  97,  96,  96,  95,  95,  94,  94,  93,  93,  92,  92,  91,  91,  90,  90,
        98,  97,  97,  96,  95,  95,  94,  94,  93,  92,  92,  91,  91,  90,  89,  89,
        99,  98,  97,  96,  96,  95,  94,  93,  93,  92,  91,  91,  90,  89,  88,  88,
        99,  98,  98,  97,  96,  95,  94,  93,  93,  92,  91,  90,  89,  88,  88,  87,
        100,  99,  98,  97,  96,  95,  94,  93,  92,  91,  90,  89,  88,  88,  87,  86,
        101, 100,  99,  98,  96,  95,  94,  93,  92,  91,  90,  89,  88,  87,  86,  85

      }
    }
  },
  {
    /* QM level 8*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        68,  66,  58,  53,  66,  59,  55,  52,  58,  55,  52,  51,  53,  52,  51,  50,

        /*Size 8 x 8*/
        64,  71,  69,  63,  58,  55,  53,  52,  71,  67,  68,  65,  60,  57,  54,  53,
        69,  68,  61,  59,  57,  55,  53,  52,  63,  65,  59,  56,  54,  53,  52,  51,
        58,  60,  57,  54,  53,  52,  51,  51,  55,  57,  55,  53,  52,  51,  51,  50,
        53,  54,  53,  52,  51,  51,  50,  50,  52,  53,  52,  51,  51,  50,  50,  50,

        /*Size 16 x 16*/
        64,  67,  71,  70,  69,  66,  63,  60,  58,  57,  55,  54,  53,  52,  52,  52,
        67,  68,  69,  69,  68,  66,  64,  61,  59,  58,  56,  55,  54,  53,  52,  52,
        71,  69,  67,  68,  68,  67,  65,  63,  60,  59,  57,  56,  54,  53,  53,  53,
        70,  69,  68,  66,  65,  63,  62,  60,  59,  57,  56,  55,  54,  53,  52,  52,
        69,  68,  68,  65,  61,  60,  59,  58,  57,  56,  55,  54,  53,  53,  52,  52,
        66,  66,  67,  63,  60,  59,  57,  56,  56,  55,  54,  53,  53,  52,  52,  52,
        63,  64,  65,  62,  59,  57,  56,  55,  54,  54,  53,  53,  52,  52,  51,  51,
        60,  61,  63,  60,  58,  56,  55,  54,  54,  53,  52,  52,  52,  51,  51,  51,
        58,  59,  60,  59,  57,  56,  54,  54,  53,  52,  52,  51,  51,  51,  51,  51,
        57,  58,  59,  57,  56,  55,  54,  53,  52,  52,  51,  51,  51,  51,  50,  50,
        55,  56,  57,  56,  55,  54,  53,  52,  52,  51,  51,  51,  51,  50,  50,  50,
        54,  55,  56,  55,  54,  53,  53,  52,  51,  51,  51,  51,  50,  50,  50,  50,
        53,  54,  54,  54,  53,  53,  52,  52,  51,  51,  51,  50,  50,  50,  50,  50,
        52,  53,  53,  53,  53,  52,  52,  51,  51,  51,  50,  50,  50,  50,  50,  50,
        52,  52,  53,  52,  52,  52,  51,  51,  51,  50,  50,  50,  50,  50,  50,  50,
        52,  52,  53,  52,  52,  52,  51,  51,  51,  50,  50,  50,  50,  50,  50,  50,

        /*Size 32 x 32*/
        64,  66,  67,  69,  71,  70,  70,  69,  69,  67,  66,  64,  63,  62,  60,  59,
        66,  67,  68,  69,  70,  69,  69,  69,  68,  67,  66,  65,  63,  62,  61,  60,
        67,  68,  68,  68,  69,  69,  69,  69,  68,  67,  66,  65,  64,  63,  61,  60,
        69,  69,  68,  68,  68,  68,  68,  68,  68,  67,  66,  65,  64,  63,  62,  61,
        71,  70,  69,  68,  67,  68,  68,  68,  68,  67,  67,  66,  65,  64,  63,  61,
        70,  69,  69,  68,  68,  67,  67,  67,  67,  66,  65,  64,  63,  62,  61,  60,
        70,  69,  69,  68,  68,  67,  66,  66,  65,  64,  63,  63,  62,  61,  60,  59,
        69,  69,  69,  68,  68,  67,  66,  64,  63,  62,  62,  61,  60,  60,  59,  58,
        69,  68,  68,  68,  68,  67,  65,  63,  61,  61,  60,  60,  59,  58,  58,  57,
        67,  67,  67,  67,  67,  66,  64,  62,  61,  60,  59,  59,  58,  58,  57,  57,
        66,  66,  66,  66,  67,  65,  63,  62,  60,  59,  59,  58,  57,  57,  56,  56,
        64,  65,  65,  65,  66,  64,  63,  61,  60,  59,  58,  57,  57,  56,  56,  55,
        63,  63,  64,  64,  65,  63,  62,  60,  59,  58,  57,  57,  56,  55,  55,  55,
        62,  62,  63,  63,  64,  62,  61,  60,  58,  58,  57,  56,  55,  55,  55,  54,
        60,  61,  61,  62,  63,  61,  60,  59,  58,  57,  56,  56,  55,  55,  54,  54,
        59,  60,  60,  61,  61,  60,  59,  58,  57,  57,  56,  55,  55,  54,  54,  54,

        /*Size 64 x 64*/
        64,  65,  66,  66,  67,  68,  69,  70,  71,  70,  70,  70,  70,  69,  69,  69,
        65,  65,  66,  67,  67,  68,  69,  69,  70,  70,  70,  69,  69,  69,  69,  69,
        66,  66,  67,  67,  68,  68,  69,  69,  70,  70,  69,  69,  69,  69,  69,  69,
        66,  67,  67,  68,  68,  68,  69,  69,  69,  69,  69,  69,  69,  69,  69,  69,
        67,  67,  68,  68,  68,  68,  68,  69,  69,  69,  69,  69,  69,  69,  69,  68,
        68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        69,  69,  69,  69,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        70,  69,  69,  69,  69,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        71,  70,  70,  69,  69,  68,  68,  68,  67,  67,  68,  68,  68,  68,  68,  68,
        70,  70,  70,  69,  69,  68,  68,  68,  67,  67,  67,  67,  67,  67,  67,  67,
        70,  70,  69,  69,  69,  68,  68,  68,  68,  67,  67,  67,  67,  67,  67,  67,
        70,  69,  69,  69,  69,  68,  68,  68,  68,  67,  67,  67,  67,  66,  66,  66,
        70,  69,  69,  69,  69,  68,  68,  68,  68,  67,  67,  67,  66,  66,  66,  65,
        69,  69,  69,  69,  69,  68,  68,  68,  68,  67,  67,  66,  66,  65,  65,  64,
        69,  69,  69,  69,  69,  68,  68,  68,  68,  67,  67,  66,  66,  65,  64,  64,
        69,  69,  69,  69,  68,  68,  68,  68,  68,  67,  67,  66,  65,  64,  64,  63,

        /*Size 128 x 128*/
        64,  64,  65,  65,  66,  66,  66,  67,  67,  68,  68,  68,  69,  69,  70,  70,
        64,  65,  65,  66,  66,  66,  67,  67,  67,  68,  68,  68,  69,  69,  70,  70,
        65,  65,  65,  66,  66,  66,  67,  67,  67,  68,  68,  68,  69,  69,  69,  70,
        65,  66,  66,  66,  66,  67,  67,  67,  68,  68,  68,  68,  69,  69,  69,  70,
        66,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  68,  69,  69,  69,  69,
        66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  68,  68,  69,  69,  69,  69,
        66,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  69,  69,  69,  69,
        67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  69,  69,  69,  69,
        67,  67,  67,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  69,  69,  69,
        68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  69,  69,
        68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,  68,
        69,  69,  69,  69,  69,  69,  69,  69,  68,  68,  68,  68,  68,  68,  68,  68,
        69,  69,  69,  69,  69,  69,  69,  69,  69,  68,  68,  68,  68,  68,  68,  68,
        70,  70,  69,  69,  69,  69,  69,  69,  69,  69,  68,  68,  68,  68,  68,  68,
        70,  70,  70,  70,  69,  69,  69,  69,  69,  69,  68,  68,  68,  68,  68,  68

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        95,  90,  71,  60,  90,  74,  64,  58,  71,  64,  58,  55,  60,  58,  55,  53,

        /*Size 8 x 8*/
        86, 100,  96,  83,  72,  65,  60,  57, 100,  93,  95,  87,  77,  69,  64,  60,
        96,  95,  80,  74,  69,  65,  61,  58,  83,  87,  74,  67,  63,  61,  58,  57,
        72,  77,  69,  63,  60,  58,  56,  55,  65,  69,  65,  61,  58,  56,  55,  54,
        60,  64,  61,  58,  56,  55,  54,  53,  57,  60,  58,  57,  55,  54,  53,  52,

        /*Size 16 x 16*/
        86,  93, 100,  98,  96,  89,  83,  77,  72,  68,  65,  63,  60,  59,  57,  57,
        93,  95,  96,  96,  95,  90,  85,  80,  75,  71,  67,  64,  62,  60,  58,  58,
        100,  96,  93,  94,  95,  91,  87,  82,  77,  73,  69,  66,  64,  62,  60,  60,
        98,  96,  94,  91,  87,  84,  81,  77,  73,  70,  67,  65,  62,  61,  59,  59,
        96,  95,  95,  87,  80,  77,  74,  72,  69,  67,  65,  63,  61,  60,  58,  58,
        89,  90,  91,  84,  77,  74,  71,  68,  66,  64,  63,  61,  60,  58,  57,  57,
        83,  85,  87,  81,  74,  71,  67,  65,  63,  62,  61,  59,  58,  57,  57,  57,
        77,  80,  82,  77,  72,  68,  65,  63,  62,  60,  59,  58,  57,  57,  56,  56,
        72,  75,  77,  73,  69,  66,  63,  62,  60,  59,  58,  57,  56,  56,  55,  55,
        68,  71,  73,  70,  67,  64,  62,  60,  59,  58,  57,  56,  56,  55,  54,  54,
        65,  67,  69,  67,  65,  63,  61,  59,  58,  57,  56,  55,  55,  54,  54,  54,
        63,  64,  66,  65,  63,  61,  59,  58,  57,  56,  55,  55,  54,  54,  53,  53,
        60,  62,  64,  62,  61,  60,  58,  57,  56,  56,  55,  54,  54,  53,  53,  53,
        59,  60,  62,  61,  60,  58,  57,  57,  56,  55,  54,  54,  53,  53,  53,  53,
        57,  58,  60,  59,  58,  57,  57,  56,  55,  54,  54,  53,  53,  53,  52,  52,
        57,  58,  60,  59,  58,  57,  57,  56,  55,  54,  54,  53,  53,  53,  52,  52,

        /*Size 32 x 32*/
        86,  89,  93,  97, 100,  99,  98,  97,  96,  92,  89,  86,  83,  80,  77,  75,
        89,  91,  94,  96,  98,  98,  97,  96,  96,  93,  90,  87,  84,  81,  78,  76,
        93,  94,  95,  96,  96,  96,  96,  96,  95,  93,  90,  87,  85,  82,  80,  77,
        97,  96,  96,  95,  94,  95,  95,  95,  95,  93,  91,  88,  86,  83,  81,  78,
        100,  98,  96,  94,  93,  93,  94,  94,  95,  93,  91,  89,  87,  85,  82,  80,
        99,  98,  96,  95,  93,  93,  92,  92,  91,  89,  87,  86,  84,  82,  79,  77,
        98,  97,  96,  95,  94,  92,  91,  89,  87,  86,  84,  82,  81,  79,  77,  75,
        97,  96,  96,  95,  94,  92,  89,  86,  83,  82,  80,  79,  77,  76,  74,  73,
        96,  96,  95,  95,  95,  91,  87,  83,  80,  78,  77,  75,  74,  73,  72,  70,
        92,  93,  93,  93,  93,  89,  86,  82,  78,  77,  75,  74,  72,  71,  70,  69,
        89,  90,  90,  91,  91,  87,  84,  80,  77,  75,  74,  72,  71,  69,  68,  67,
        86,  87,  87,  88,  89,  86,  82,  79,  75,  74,  72,  70,  69,  68,  67,  66,
        83,  84,  85,  86,  87,  84,  81,  77,  74,  72,  71,  69,  67,  66,  65,  64,
        80,  81,  82,  83,  85,  82,  79,  76,  73,  71,  69,  68,  66,  65,  64,  63,
        77,  78,  80,  81,  82,  79,  77,  74,  72,  70,  68,  67,  65,  64,  63,  62,
        75,  76,  77,  78,  80,  77,  75,  73,  70,  69,  67,  66,  64,  63,  62,  62,

        /*Size 64 x 64*/
        86,  87,  89,  91,  93,  95,  97,  98, 100, 100,  99,  99,  98,  97,  97,  96,
        87,  89,  90,  92,  93,  95,  96,  98,  99,  99,  98,  98,  97,  97,  97,  96,
        89,  90,  91,  93,  94,  95,  96,  97,  98,  98,  98,  97,  97,  97,  96,  96,
        91,  92,  93,  93,  94,  95,  96,  97,  97,  97,  97,  97,  96,  96,  96,  96,
        93,  93,  94,  94,  95,  95,  96,  96,  96,  96,  96,  96,  96,  96,  96,  96,
        95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,
        97,  96,  96,  96,  96,  95,  95,  95,  94,  95,  95,  95,  95,  95,  95,  95,
        98,  98,  97,  97,  96,  95,  95,  94,  93,  94,  94,  94,  94,  94,  95,  95,
        100,  99,  98,  97,  96,  95,  94,  93,  93,  93,  93,  93,  94,  94,  94,  95,
        100,  99,  98,  97,  96,  95,  95,  94,  93,  93,  93,  93,  93,  93,  93,  93,
        99,  98,  98,  97,  96,  95,  95,  94,  93,  93,  93,  92,  92,  92,  92,  91,
        99,  98,  97,  97,  96,  95,  95,  94,  93,  93,  92,  92,  91,  91,  90,  90,
        98,  97,  97,  96,  96,  95,  95,  94,  94,  93,  92,  91,  91,  90,  89,  88,
        97,  97,  97,  96,  96,  95,  95,  94,  94,  93,  92,  91,  90,  89,  88,  86,
        97,  97,  96,  96,  96,  95,  95,  95,  94,  93,  92,  90,  89,  88,  86,  85,
        96,  96,  96,  96,  96,  95,  95,  95,  95,  93,  91,  90,  88,  86,  85,  83,

        /*Size 128 x 128*/
        86,  86,  87,  88,  89,  90,  91,  92,  93,  94,  95,  96,  97,  97,  98,  99,
        86,  87,  88,  89,  90,  91,  91,  92,  93,  94,  95,  96,  96,  97,  98,  99,
        87,  88,  89,  90,  90,  91,  92,  93,  93,  94,  95,  96,  96,  97,  98,  99,
        88,  89,  90,  90,  91,  92,  92,  93,  94,  94,  95,  96,  96,  97,  97,  98,
        89,  90,  90,  91,  91,  92,  93,  93,  94,  94,  95,  95,  96,  97,  97,  98,
        90,  91,  91,  92,  92,  93,  93,  93,  94,  94,  95,  95,  96,  96,  97,  97,
        91,  91,  92,  92,  93,  93,  93,  94,  94,  95,  95,  95,  96,  96,  97,  97,
        92,  92,  93,  93,  93,  93,  94,  94,  94,  95,  95,  95,  96,  96,  96,  97,
        93,  93,  93,  94,  94,  94,  94,  94,  95,  95,  95,  95,  96,  96,  96,  96,
        94,  94,  94,  94,  94,  94,  95,  95,  95,  95,  95,  95,  95,  95,  96,  96,
        95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,
        96,  96,  96,  96,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,  95,
        97,  96,  96,  96,  96,  96,  96,  96,  96,  95,  95,  95,  95,  95,  95,  95,
        97,  97,  97,  97,  97,  96,  96,  96,  96,  95,  95,  95,  95,  95,  94,  94,
        98,  98,  98,  97,  97,  97,  97,  96,  96,  96,  95,  95,  95,  94,  94,  94,
        99,  99,  99,  98,  98,  97,  97,  97,  96,  96,  95,  95,  95,  94,  94,  93

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        67,  55,  54,  49,  55,  52,  51,  48,  54,  51,  47,  45,  49,  48,  45,  44,

        /*Size 8 x 8*/
        64,  71,  55,  54,  53,  51,  49,  47,  71,  60,  55,  57,  57,  55,  52,  50,
        55,  55,  52,  53,  53,  52,  50,  49,  54,  57,  53,  50,  50,  49,  48,  47,
        53,  57,  53,  50,  48,  47,  46,  46,  51,  55,  52,  49,  47,  46,  45,  45,
        49,  52,  50,  48,  46,  45,  44,  44,  47,  50,  49,  47,  46,  45,  44,  43,

        /*Size 16 x 16*/
        64,  68,  71,  63,  55,  54,  54,  53,  53,  52,  51,  50,  49,  48,  47,  47,
        68,  67,  66,  60,  55,  55,  56,  55,  55,  54,  53,  52,  50,  49,  49,  49,
        71,  66,  60,  57,  55,  56,  57,  57,  57,  56,  55,  53,  52,  51,  50,  50,
        63,  60,  57,  55,  53,  54,  55,  55,  55,  54,  53,  52,  51,  50,  49,  49,
        55,  55,  55,  53,  52,  52,  53,  53,  53,  52,  52,  51,  50,  49,  49,  49,
        54,  55,  56,  54,  52,  52,  51,  51,  51,  51,  50,  50,  49,  48,  48,  48,
        54,  56,  57,  55,  53,  51,  50,  50,  50,  49,  49,  49,  48,  48,  47,  47,
        53,  55,  57,  55,  53,  51,  50,  49,  49,  48,  48,  48,  47,  47,  46,  46,
        53,  55,  57,  55,  53,  51,  50,  49,  48,  48,  47,  47,  46,  46,  46,  46,
        52,  54,  56,  54,  52,  51,  49,  48,  48,  47,  46,  46,  46,  45,  45,  45,
        51,  53,  55,  53,  52,  50,  49,  48,  47,  46,  46,  45,  45,  45,  45,  45,
        50,  52,  53,  52,  51,  50,  49,  48,  47,  46,  45,  45,  45,  44,  44,  44,
        49,  50,  52,  51,  50,  49,  48,  47,  46,  46,  45,  45,  44,  44,  44,  44,
        48,  49,  51,  50,  49,  48,  48,  47,  46,  45,  45,  44,  44,  44,  43,  43,
        47,  49,  50,  49,  49,  48,  47,  46,  46,  45,  45,  44,  44,  43,  43,  43,
        47,  49,  50,  49,  49,  48,  47,  46,  46,  45,  45,  44,  44,  43,  43,  43,

        /*Size 32 x 32*/
        64,  66,  68,  69,  71,  67,  63,  59,  55,  54,  54,  54,  54,  54,  53,  53,
        66,  66,  67,  68,  68,  65,  62,  58,  55,  55,  55,  55,  55,  54,  54,  54,
        68,  67,  67,  66,  66,  63,  60,  57,  55,  55,  55,  55,  56,  55,  55,  55,
        69,  68,  66,  64,  63,  61,  59,  57,  55,  55,  56,  56,  56,  56,  56,  56,
        71,  68,  66,  63,  60,  59,  57,  56,  55,  56,  56,  57,  57,  57,  57,  57,
        67,  65,  63,  61,  59,  57,  56,  55,  54,  55,  55,  55,  56,  56,  56,  56,
        63,  62,  60,  59,  57,  56,  55,  54,  53,  54,  54,  54,  55,  55,  55,  55,
        59,  58,  57,  57,  56,  55,  54,  53,  53,  53,  53,  53,  54,  54,  54,  54,
        55,  55,  55,  55,  55,  54,  53,  53,  52,  52,  52,  52,  53,  53,  53,  53,
        54,  55,  55,  55,  56,  55,  54,  53,  52,  52,  52,  52,  52,  52,  52,  52,
        54,  55,  55,  56,  56,  55,  54,  53,  52,  52,  52,  52,  51,  51,  51,  51,
        54,  55,  55,  56,  57,  55,  54,  53,  52,  52,  52,  51,  51,  51,  51,  50,
        54,  55,  56,  56,  57,  56,  55,  54,  53,  52,  51,  51,  50,  50,  50,  50,
        54,  54,  55,  56,  57,  56,  55,  54,  53,  52,  51,  51,  50,  50,  50,  49,
        53,  54,  55,  56,  57,  56,  55,  54,  53,  52,  51,  51,  50,  50,  49,  49,
        53,  54,  55,  56,  57,  56,  55,  54,  53,  52,  51,  50,  50,  49,  49,  49,

        /*Size 64 x 64*/
        64,  65,  66,  67,  68,  69,  69,  70,  71,  69,  67,  65,  63,  61,  59,  57,
        65,  66,  66,  67,  67,  68,  69,  69,  70,  68,  66,  64,  62,  60,  58,  56,
        66,  66,  66,  67,  67,  67,  68,  68,  68,  67,  65,  63,  62,  60,  58,  56,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  65,  64,  62,  61,  59,  58,  56,
        68,  67,  67,  67,  67,  66,  66,  66,  66,  64,  63,  61,  60,  59,  57,  56,
        69,  68,  67,  67,  66,  66,  65,  65,  64,  63,  62,  61,  59,  58,  57,  56,
        69,  69,  68,  67,  66,  65,  64,  63,  63,  62,  61,  60,  59,  58,  57,  56,
        70,  69,  68,  67,  66,  65,  63,  62,  61,  60,  60,  59,  58,  57,  57,  56,
        71,  70,  68,  67,  66,  64,  63,  61,  60,  59,  59,  58,  57,  57,  56,  56,
        69,  68,  67,  65,  64,  63,  62,  60,  59,  59,  58,  57,  57,  56,  56,  55,
        67,  66,  65,  64,  63,  62,  61,  60,  59,  58,  57,  57,  56,  56,  55,  55,
        65,  64,  63,  62,  61,  61,  60,  59,  58,  57,  57,  56,  56,  55,  55,  54,
        63,  62,  62,  61,  60,  59,  59,  58,  57,  57,  56,  56,  55,  55,  54,  54,
        61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,  55,  55,  54,  54,  53,
        59,  58,  58,  58,  57,  57,  57,  57,  56,  56,  55,  55,  54,  54,  53,  53,
        57,  56,  56,  56,  56,  56,  56,  56,  56,  55,  55,  54,  54,  53,  53,  53,

        /*Size 128 x 128*/
        64,  64,  65,  65,  66,  66,  67,  67,  68,  68,  69,  69,  69,  70,  70,  71,
        64,  65,  65,  66,  66,  66,  67,  67,  67,  68,  68,  69,  69,  69,  70,  70,
        65,  65,  66,  66,  66,  66,  67,  67,  67,  68,  68,  68,  69,  69,  69,  70,
        65,  66,  66,  66,  66,  67,  67,  67,  67,  67,  68,  68,  68,  68,  69,  69,
        66,  66,  66,  66,  66,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,
        66,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  68,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  66,  66,  66,  66,
        68,  67,  67,  67,  67,  67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,
        68,  68,  68,  67,  67,  67,  67,  67,  66,  66,  66,  66,  66,  65,  65,  65,
        69,  68,  68,  68,  67,  67,  67,  67,  66,  66,  66,  65,  65,  65,  65,  64,
        69,  69,  68,  68,  68,  67,  67,  67,  66,  66,  65,  65,  65,  64,  64,  64,
        69,  69,  69,  68,  68,  67,  67,  66,  66,  66,  65,  65,  64,  64,  63,  63,
        70,  69,  69,  68,  68,  67,  67,  66,  66,  65,  65,  64,  64,  63,  63,  62,
        70,  70,  69,  69,  68,  67,  67,  66,  66,  65,  65,  64,  63,  63,  62,  62,
        71,  70,  70,  69,  68,  68,  67,  66,  66,  65,  64,  64,  63,  62,  62,  61

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        80,  69,  67,  63,  69,  66,  64,  62,  67,  64,  61,  59,  63,  62,  59,  57,

        /*Size 8 x 8*/
        78,  85,  68,  68,  67,  65,  63,  61,  85,  73,  69,  71,  70,  68,  66,  64,
        68,  69,  66,  66,  66,  65,  64,  63,  68,  71,  66,  64,  63,  63,  62,  61,
        67,  70,  66,  63,  62,  61,  60,  59,  65,  68,  65,  63,  61,  60,  59,  58,
        63,  66,  64,  62,  60,  59,  58,  58,  61,  64,  63,  61,  59,  58,  58,  57,

        /*Size 16 x 16*/
        78,  81,  85,  76,  68,  68,  68,  67,  67,  66,  65,  64,  63,  62,  61,  61,
        81,  80,  79,  74,  68,  69,  69,  69,  68,  67,  66,  65,  64,  63,  62,  62,
        85,  79,  73,  71,  69,  70,  71,  70,  70,  69,  68,  67,  66,  65,  64,  64,
        76,  74,  71,  69,  67,  68,  69,  68,  68,  67,  67,  66,  65,  64,  63,  63,
        68,  68,  69,  67,  66,  66,  66,  66,  66,  66,  65,  65,  64,  63,  63,  63,
        68,  69,  70,  68,  66,  66,  65,  65,  65,  64,  64,  63,  63,  62,  62,  62,
        68,  69,  71,  69,  66,  65,  64,  64,  63,  63,  63,  62,  62,  61,  61,  61,
        67,  69,  70,  68,  66,  65,  64,  63,  63,  62,  62,  61,  61,  60,  60,  60,
        67,  68,  70,  68,  66,  65,  63,  63,  62,  61,  61,  60,  60,  60,  59,  59,
        66,  67,  69,  67,  66,  64,  63,  62,  61,  61,  60,  60,  59,  59,  59,  59,
        65,  66,  68,  67,  65,  64,  63,  62,  61,  60,  60,  59,  59,  59,  58,  58,
        64,  65,  67,  66,  65,  63,  62,  61,  60,  60,  59,  59,  58,  58,  58,  58,
        63,  64,  66,  65,  64,  63,  62,  61,  60,  59,  59,  58,  58,  58,  58,  58,
        62,  63,  65,  64,  63,  62,  61,  60,  60,  59,  59,  58,  58,  57,  57,  57,
        61,  62,  64,  63,  63,  62,  61,  60,  59,  59,  58,  58,  58,  57,  57,  57,
        61,  62,  64,  63,  63,  62,  61,  60,  59,  59,  58,  58,  58,  57,  57,  57,

        /*Size 32 x 32*/
        78,  79,  81,  83,  85,  80,  76,  72,  68,  68,  68,  68,  68,  67,  67,  67,
        79,  80,  80,  81,  82,  78,  75,  72,  68,  68,  68,  68,  69,  68,  68,  68,
        81,  80,  80,  79,  79,  76,  74,  71,  68,  69,  69,  69,  69,  69,  69,  69,
        83,  81,  79,  78,  76,  74,  72,  70,  68,  69,  69,  70,  70,  70,  70,  69,
        85,  82,  79,  76,  73,  72,  71,  70,  69,  69,  70,  70,  71,  71,  70,  70,
        80,  78,  76,  74,  72,  71,  70,  69,  68,  68,  69,  69,  70,  69,  69,  69,
        76,  75,  74,  72,  71,  70,  69,  68,  67,  67,  68,  68,  69,  68,  68,  68,
        72,  72,  71,  70,  70,  69,  68,  67,  66,  67,  67,  67,  67,  67,  67,  67,
        68,  68,  68,  68,  69,  68,  67,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        68,  68,  69,  69,  69,  68,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,
        68,  68,  69,  69,  70,  69,  68,  67,  66,  66,  66,  65,  65,  65,  65,  65,
        68,  68,  69,  70,  70,  69,  68,  67,  66,  66,  65,  65,  65,  64,  64,  64,
        68,  69,  69,  70,  71,  70,  69,  67,  66,  66,  65,  65,  64,  64,  64,  63,
        67,  68,  69,  70,  71,  69,  68,  67,  66,  66,  65,  64,  64,  64,  63,  63,
        67,  68,  69,  70,  70,  69,  68,  67,  66,  66,  65,  64,  64,  63,  63,  63,
        67,  68,  69,  69,  70,  69,  68,  67,  66,  66,  65,  64,  63,  63,  63,  62,

        /*Size 64 x 64*/
        78,  78,  79,  80,  81,  82,  83,  84,  85,  82,  80,  78,  76,  74,  72,  70,
        78,  79,  80,  80,  81,  81,  82,  83,  83,  81,  79,  78,  76,  74,  72,  70,
        79,  80,  80,  80,  80,  81,  81,  81,  82,  80,  78,  77,  75,  73,  72,  70,
        80,  80,  80,  80,  80,  80,  80,  80,  80,  79,  77,  76,  74,  73,  71,  70,
        81,  81,  80,  80,  80,  80,  79,  79,  79,  78,  76,  75,  74,  72,  71,  70,
        82,  81,  81,  80,  80,  79,  79,  78,  77,  76,  75,  74,  73,  72,  71,  70,
        83,  82,  81,  80,  79,  79,  78,  77,  76,  75,  74,  73,  72,  71,  70,  69,
        84,  83,  81,  80,  79,  78,  77,  76,  75,  74,  73,  72,  72,  71,  70,  69,
        85,  83,  82,  80,  79,  77,  76,  75,  73,  73,  72,  71,  71,  70,  70,  69,
        82,  81,  80,  79,  78,  76,  75,  74,  73,  72,  72,  71,  70,  70,  69,  69,
        80,  79,  78,  77,  76,  75,  74,  73,  72,  72,  71,  70,  70,  69,  69,  68,
        78,  78,  77,  76,  75,  74,  73,  72,  71,  71,  70,  70,  69,  69,  68,  68,
        76,  76,  75,  74,  74,  73,  72,  72,  71,  70,  70,  69,  69,  68,  68,  67,
        74,  74,  73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  68,  68,  67,
        72,  72,  72,  71,  71,  71,  70,  70,  70,  69,  69,  68,  68,  68,  67,  67,
        70,  70,  70,  70,  70,  70,  69,  69,  69,  69,  68,  68,  67,  67,  67,  66,

        /*Size 128 x 128*/
        78,  78,  78,  79,  79,  80,  80,  81,  81,  81,  82,  82,  83,  83,  84,  84,
        78,  78,  79,  79,  79,  80,  80,  81,  81,  81,  82,  82,  82,  83,  83,  83,
        78,  79,  79,  79,  80,  80,  80,  80,  81,  81,  81,  82,  82,  82,  83,  83,
        79,  79,  79,  79,  80,  80,  80,  80,  81,  81,  81,  81,  81,  82,  82,  82,
        79,  79,  80,  80,  80,  80,  80,  80,  80,  81,  81,  81,  81,  81,  81,  82,
        80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  81,  81,  81,  81,  81,
        80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,
        81,  81,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,  80,
        81,  81,  81,  81,  80,  80,  80,  80,  80,  80,  80,  80,  79,  79,  79,  79,
        81,  81,  81,  81,  81,  80,  80,  80,  80,  80,  79,  79,  79,  79,  79,  78,
        82,  82,  81,  81,  81,  80,  80,  80,  80,  79,  79,  79,  79,  78,  78,  78,
        82,  82,  82,  81,  81,  81,  80,  80,  80,  79,  79,  78,  78,  78,  77,  77,
        83,  82,  82,  81,  81,  81,  80,  80,  79,  79,  79,  78,  78,  77,  77,  76,
        83,  83,  82,  82,  81,  81,  80,  80,  79,  79,  78,  78,  77,  77,  76,  76,
        84,  83,  83,  82,  81,  81,  80,  80,  79,  79,  78,  77,  77,  76,  76,  75,
        84,  83,  83,  82,  82,  81,  80,  80,  79,  78,  78,  77,  76,  76,  75,  75

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        67,  54,  52,  48,  54,  50,  49,  47,  52,  49,  46,  44,  48,  47,  44,  42,

        /*Size 8 x 8*/
        64,  72,  54,  52,  51,  49,  47,  46,  72,  60,  53,  55,  55,  53,  50,  48,
        54,  53,  50,  51,  51,  50,  49,  47,  52,  55,  51,  49,  48,  47,  47,  46,
        51,  55,  51,  48,  47,  46,  45,  44,  49,  53,  50,  47,  46,  45,  44,  43,
        47,  50,  49,  47,  45,  44,  43,  42,  46,  48,  47,  46,  44,  43,  42,  42,

        /*Size 16 x 16*/
        64,  68,  72,  63,  54,  53,  52,  52,  51,  50,  49,  48,  47,  47,  46,  46,
        68,  67,  66,  60,  54,  54,  54,  53,  53,  52,  51,  50,  49,  48,  47,  47,
        72,  66,  60,  56,  53,  54,  55,  55,  55,  54,  53,  51,  50,  49,  48,  48,
        63,  60,  56,  54,  52,  52,  53,  53,  53,  52,  51,  50,  49,  49,  48,  48,
        54,  54,  53,  52,  50,  50,  51,  51,  51,  50,  50,  49,  49,  48,  47,  47,
        53,  54,  54,  52,  50,  50,  50,  50,  49,  49,  49,  48,  48,  47,  46,  46,
        52,  54,  55,  53,  51,  50,  49,  48,  48,  48,  47,  47,  47,  46,  46,  46,
        52,  53,  55,  53,  51,  50,  48,  48,  47,  47,  46,  46,  46,  45,  45,  45,
        51,  53,  55,  53,  51,  49,  48,  47,  47,  46,  46,  45,  45,  45,  44,  44,
        50,  52,  54,  52,  50,  49,  48,  47,  46,  46,  45,  45,  44,  44,  44,  44,
        49,  51,  53,  51,  50,  49,  47,  46,  46,  45,  45,  44,  44,  43,  43,  43,
        48,  50,  51,  50,  49,  48,  47,  46,  45,  45,  44,  44,  43,  43,  43,  43,
        47,  49,  50,  49,  49,  48,  47,  46,  45,  44,  44,  43,  43,  43,  42,  42,
        47,  48,  49,  49,  48,  47,  46,  45,  45,  44,  43,  43,  43,  42,  42,  42,
        46,  47,  48,  48,  47,  46,  46,  45,  44,  44,  43,  43,  42,  42,  42,  42,
        46,  47,  48,  48,  47,  46,  46,  45,  44,  44,  43,  43,  42,  42,  42,  42,

        /*Size 32 x 32*/
        64,  66,  68,  70,  72,  67,  63,  59,  54,  54,  53,  53,  52,  52,  52,  51,
        66,  67,  67,  68,  69,  65,  61,  58,  54,  54,  53,  53,  53,  53,  52,  52,
        68,  67,  67,  66,  66,  63,  60,  57,  54,  54,  54,  54,  54,  53,  53,  53,
        70,  68,  66,  64,  63,  60,  58,  56,  53,  54,  54,  54,  54,  54,  54,  54,
        72,  69,  66,  63,  60,  58,  56,  55,  53,  54,  54,  55,  55,  55,  55,  55,
        67,  65,  63,  60,  58,  56,  55,  54,  52,  53,  53,  54,  54,  54,  54,  54,
        63,  61,  60,  58,  56,  55,  54,  53,  52,  52,  52,  53,  53,  53,  53,  53,
        59,  58,  57,  56,  55,  54,  53,  52,  51,  51,  51,  52,  52,  52,  52,  52,
        54,  54,  54,  53,  53,  52,  52,  51,  50,  50,  50,  51,  51,  51,  51,  51,
        54,  54,  54,  54,  54,  53,  52,  51,  50,  50,  50,  50,  50,  50,  50,  50,
        53,  53,  54,  54,  54,  53,  52,  51,  50,  50,  50,  50,  50,  50,  50,  49,
        53,  53,  54,  54,  55,  54,  53,  52,  51,  50,  50,  50,  49,  49,  49,  49,
        52,  53,  54,  54,  55,  54,  53,  52,  51,  50,  50,  49,  49,  49,  48,  48,
        52,  53,  53,  54,  55,  54,  53,  52,  51,  50,  50,  49,  49,  48,  48,  48,
        52,  52,  53,  54,  55,  54,  53,  52,  51,  50,  50,  49,  48,  48,  48,  48,
        51,  52,  53,  54,  55,  54,  53,  52,  51,  50,  49,  49,  48,  48,  48,  47,

        /*Size 64 x 64*/
        64,  65,  66,  67,  68,  69,  70,  71,  72,  69,  67,  65,  63,  61,  59,  56,
        65,  66,  66,  67,  67,  68,  69,  69,  70,  68,  66,  64,  62,  60,  58,  56,
        66,  66,  67,  67,  67,  68,  68,  68,  69,  67,  65,  63,  61,  59,  58,  56,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  65,  64,  62,  60,  59,  57,  55,
        68,  67,  67,  67,  67,  66,  66,  66,  66,  64,  63,  61,  60,  58,  57,  55,
        69,  68,  68,  67,  66,  66,  65,  65,  64,  63,  61,  60,  59,  57,  56,  55,
        70,  69,  68,  67,  66,  65,  64,  63,  63,  61,  60,  59,  58,  57,  56,  54,
        71,  69,  68,  67,  66,  65,  63,  62,  61,  60,  59,  58,  57,  56,  55,  54,
        72,  70,  69,  67,  66,  64,  63,  61,  60,  59,  58,  57,  56,  55,  55,  54,
        69,  68,  67,  65,  64,  63,  61,  60,  59,  58,  57,  56,  56,  55,  54,  53,
        67,  66,  65,  64,  63,  61,  60,  59,  58,  57,  56,  56,  55,  54,  54,  53,
        65,  64,  63,  62,  61,  60,  59,  58,  57,  56,  56,  55,  54,  54,  53,  53,
        63,  62,  61,  60,  60,  59,  58,  57,  56,  56,  55,  54,  54,  53,  53,  52,
        61,  60,  59,  59,  58,  57,  57,  56,  55,  55,  54,  54,  53,  53,  52,  52,
        59,  58,  58,  57,  57,  56,  56,  55,  55,  54,  54,  53,  53,  52,  52,  51,
        56,  56,  56,  55,  55,  55,  54,  54,  54,  53,  53,  53,  52,  52,  51,  51,

        /*Size 128 x 128*/
        64,  64,  65,  65,  66,  66,  67,  67,  68,  68,  69,  69,  70,  70,  71,  71,
        64,  65,  65,  66,  66,  66,  67,  67,  68,  68,  68,  69,  69,  70,  70,  70,
        65,  65,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  69,  69,  69,  70,
        65,  66,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  68,  69,  69,  69,
        66,  66,  66,  66,  67,  67,  67,  67,  67,  67,  68,  68,  68,  68,  68,  68,
        66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  68,  68,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  66,  66,  66,
        68,  68,  67,  67,  67,  67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,
        68,  68,  68,  68,  67,  67,  67,  67,  66,  66,  66,  66,  66,  65,  65,  65,
        69,  68,  68,  68,  68,  67,  67,  67,  66,  66,  66,  65,  65,  65,  65,  64,
        69,  69,  68,  68,  68,  67,  67,  67,  66,  66,  65,  65,  65,  64,  64,  64,
        70,  69,  69,  68,  68,  67,  67,  67,  66,  66,  65,  65,  64,  64,  63,  63,
        70,  70,  69,  69,  68,  67,  67,  66,  66,  65,  65,  64,  64,  63,  63,  62,
        71,  70,  69,  69,  68,  68,  67,  66,  66,  65,  65,  64,  63,  63,  62,  62,
        71,  70,  70,  69,  68,  68,  67,  66,  66,  65,  64,  64,  63,  62,  62,  61

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        82,  69,  67,  63,  69,  65,  64,  62,  67,  64,  61,  59,  63,  62,  59,  58,

        /*Size 8 x 8*/
        80,  87,  70,  68,  66,  64,  63,  61,  87,  75,  68,  70,  70,  68,  66,  64,
        70,  68,  65,  66,  66,  65,  64,  62,  68,  70,  66,  64,  63,  63,  62,  61,
        66,  70,  66,  63,  62,  61,  60,  60,  64,  68,  65,  63,  61,  60,  59,  58,
        63,  66,  64,  62,  60,  59,  58,  58,  61,  64,  62,  61,  60,  58,  58,  57,

        /*Size 16 x 16*/
        80,  83,  87,  78,  70,  69,  68,  67,  66,  65,  64,  63,  63,  62,  61,  61,
        83,  82,  81,  75,  69,  69,  69,  68,  68,  67,  66,  65,  64,  63,  62,  62,
        87,  81,  75,  72,  68,  69,  70,  70,  70,  69,  68,  67,  66,  65,  64,  64,
        78,  75,  72,  69,  67,  67,  68,  68,  68,  67,  67,  66,  65,  64,  63,  63,
        70,  69,  68,  67,  65,  66,  66,  66,  66,  66,  65,  65,  64,  63,  62,  62,
        69,  69,  69,  67,  66,  65,  65,  65,  65,  64,  64,  63,  63,  62,  62,  62,
        68,  69,  70,  68,  66,  65,  64,  64,  63,  63,  63,  62,  62,  61,  61,  61,
        67,  68,  70,  68,  66,  65,  64,  63,  62,  62,  62,  61,  61,  61,  60,  60,
        66,  68,  70,  68,  66,  65,  63,  62,  62,  61,  61,  60,  60,  60,  60,  60,
        65,  67,  69,  67,  66,  64,  63,  62,  61,  61,  60,  60,  59,  59,  59,  59,
        64,  66,  68,  67,  65,  64,  63,  62,  61,  60,  60,  59,  59,  59,  58,  58,
        63,  65,  67,  66,  65,  63,  62,  61,  60,  60,  59,  59,  58,  58,  58,  58,
        63,  64,  66,  65,  64,  63,  62,  61,  60,  59,  59,  58,  58,  58,  58,  58,
        62,  63,  65,  64,  63,  62,  61,  61,  60,  59,  59,  58,  58,  58,  57,  57,
        61,  62,  64,  63,  62,  62,  61,  60,  60,  59,  58,  58,  58,  57,  57,  57,
        61,  62,  64,  63,  62,  62,  61,  60,  60,  59,  58,  58,  58,  57,  57,  57,

        /*Size 32 x 32*/
        80,  81,  83,  85,  87,  83,  78,  74,  70,  69,  69,  68,  68,  67,  67,  67,
        81,  82,  83,  83,  84,  80,  77,  73,  69,  69,  69,  68,  68,  68,  68,  67,
        83,  83,  82,  82,  81,  78,  75,  72,  69,  69,  69,  69,  69,  69,  68,  68,
        85,  83,  82,  80,  78,  76,  73,  71,  69,  69,  69,  69,  70,  69,  69,  69,
        87,  84,  81,  78,  75,  73,  72,  70,  68,  69,  69,  70,  70,  70,  70,  70,
        83,  80,  78,  76,  73,  72,  70,  69,  68,  68,  68,  69,  69,  69,  69,  69,
        78,  77,  75,  73,  72,  70,  69,  68,  67,  67,  67,  68,  68,  68,  68,  68,
        74,  73,  72,  71,  70,  69,  68,  67,  66,  66,  67,  67,  67,  67,  67,  67,
        70,  69,  69,  69,  68,  68,  67,  66,  65,  65,  66,  66,  66,  66,  66,  66,
        69,  69,  69,  69,  69,  68,  67,  66,  65,  65,  65,  65,  66,  65,  65,  65,
        69,  69,  69,  69,  69,  68,  67,  67,  66,  65,  65,  65,  65,  65,  65,  65,
        68,  68,  69,  69,  70,  69,  68,  67,  66,  65,  65,  65,  65,  64,  64,  64,
        68,  68,  69,  70,  70,  69,  68,  67,  66,  66,  65,  65,  64,  64,  64,  63,
        67,  68,  69,  69,  70,  69,  68,  67,  66,  65,  65,  64,  64,  64,  63,  63,
        67,  68,  68,  69,  70,  69,  68,  67,  66,  65,  65,  64,  64,  63,  63,  63,
        67,  67,  68,  69,  70,  69,  68,  67,  66,  65,  65,  64,  63,  63,  63,  62,

        /*Size 64 x 64*/
        80,  80,  81,  82,  83,  84,  85,  86,  87,  85,  83,  80,  78,  76,  74,  72,
        80,  81,  82,  82,  83,  84,  84,  85,  86,  83,  81,  79,  77,  75,  73,  71,
        81,  82,  82,  82,  83,  83,  83,  84,  84,  82,  80,  78,  77,  75,  73,  71,
        82,  82,  82,  82,  82,  82,  82,  82,  83,  81,  79,  77,  76,  74,  72,  71,
        83,  83,  83,  82,  82,  82,  82,  81,  81,  79,  78,  76,  75,  73,  72,  70,
        84,  84,  83,  82,  82,  81,  81,  80,  80,  78,  77,  75,  74,  73,  71,  70,
        85,  84,  83,  82,  82,  81,  80,  79,  78,  77,  76,  74,  73,  72,  71,  70,
        86,  85,  84,  82,  81,  80,  79,  78,  77,  75,  74,  73,  72,  71,  70,  69,
        87,  86,  84,  83,  81,  80,  78,  77,  75,  74,  73,  72,  72,  71,  70,  69,
        85,  83,  82,  81,  79,  78,  77,  75,  74,  73,  73,  72,  71,  70,  69,  69,
        83,  81,  80,  79,  78,  77,  76,  74,  73,  73,  72,  71,  70,  70,  69,  68,
        80,  79,  78,  77,  76,  75,  74,  73,  72,  72,  71,  70,  70,  69,  68,  68,
        78,  77,  77,  76,  75,  74,  73,  72,  72,  71,  70,  70,  69,  69,  68,  67,
        76,  75,  75,  74,  73,  73,  72,  71,  71,  70,  70,  69,  69,  68,  67,  67,
        74,  73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  68,  67,  67,  66,
        72,  71,  71,  71,  70,  70,  70,  69,  69,  69,  68,  68,  67,  67,  66,  66,

        /*Size 128 x 128*/
        80,  80,  80,  81,  81,  82,  82,  83,  83,  84,  84,  85,  85,  86,  86,  87,
        80,  80,  81,  81,  82,  82,  82,  83,  83,  84,  84,  84,  85,  85,  85,  86,
        80,  81,  81,  81,  82,  82,  82,  83,  83,  83,  84,  84,  84,  85,  85,  85,
        81,  81,  81,  82,  82,  82,  82,  83,  83,  83,  83,  84,  84,  84,  84,  85,
        81,  82,  82,  82,  82,  82,  82,  83,  83,  83,  83,  83,  83,  84,  84,  84,
        82,  82,  82,  82,  82,  82,  82,  82,  83,  83,  83,  83,  83,  83,  83,  83,
        82,  82,  82,  82,  82,  82,  82,  82,  82,  82,  82,  82,  82,  82,  82,  82,
        83,  83,  83,  83,  83,  82,  82,  82,  82,  82,  82,  82,  82,  82,  82,  82,
        83,  83,  83,  83,  83,  83,  82,  82,  82,  82,  82,  82,  82,  81,  81,  81,
        84,  84,  83,  83,  83,  83,  82,  82,  82,  82,  82,  81,  81,  81,  81,  80,
        84,  84,  84,  83,  83,  83,  82,  82,  82,  82,  81,  81,  81,  80,  80,  80,
        85,  84,  84,  84,  83,  83,  82,  82,  82,  81,  81,  81,  80,  80,  79,  79,
        85,  85,  84,  84,  83,  83,  82,  82,  82,  81,  81,  80,  80,  79,  79,  78,
        86,  85,  85,  84,  84,  83,  82,  82,  81,  81,  80,  80,  79,  79,  78,  78,
        86,  85,  85,  84,  84,  83,  82,  82,  81,  81,  80,  79,  79,  78,  78,  77,
        87,  86,  85,  85,  84,  83,  82,  82,  81,  80,  80,  79,  78,  78,  77,  76

      }
    }
  },
  {
    /* QM level 9*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        66,  65,  61,  58,  65,  61,  59,  58,  61,  59,  58,  57,  58,  58,  57,  57,

        /*Size 8 x 8*/
        64,  68,  66,  63,  61,  59,  58,  58,  68,  66,  66,  64,  62,  60,  59,  58,
        66,  66,  63,  61,  60,  59,  58,  58,  63,  64,  61,  60,  59,  58,  58,  57,
        61,  62,  60,  59,  58,  58,  57,  57,  59,  60,  59,  58,  58,  57,  57,  57,
        58,  59,  58,  58,  57,  57,  57,  57,  58,  58,  58,  57,  57,  57,  57,  56,

        /*Size 16 x 16*/
        64,  66,  68,  67,  66,  65,  63,  62,  61,  60,  59,  59,  58,  58,  58,  58,
        66,  66,  67,  66,  66,  65,  64,  63,  61,  61,  60,  59,  59,  58,  58,  58,
        68,  67,  66,  66,  66,  65,  64,  63,  62,  61,  60,  60,  59,  59,  58,  58,
        67,  66,  66,  65,  64,  64,  63,  62,  61,  60,  60,  59,  59,  58,  58,  58,
        66,  66,  66,  64,  63,  62,  61,  61,  60,  60,  59,  59,  58,  58,  58,  58,
        65,  65,  65,  64,  62,  61,  61,  60,  60,  59,  59,  58,  58,  58,  58,  58,
        63,  64,  64,  63,  61,  61,  60,  59,  59,  59,  58,  58,  58,  58,  57,  57,
        62,  63,  63,  62,  61,  60,  59,  59,  58,  58,  58,  58,  58,  57,  57,  57,
        61,  61,  62,  61,  60,  60,  59,  58,  58,  58,  58,  57,  57,  57,  57,  57,
        60,  61,  61,  60,  60,  59,  59,  58,  58,  58,  57,  57,  57,  57,  57,  57,
        59,  60,  60,  60,  59,  59,  58,  58,  58,  57,  57,  57,  57,  57,  57,  57,
        59,  59,  60,  59,  59,  58,  58,  58,  57,  57,  57,  57,  57,  57,  57,  57,
        58,  59,  59,  59,  58,  58,  58,  58,  57,  57,  57,  57,  57,  57,  57,  57,
        58,  58,  59,  58,  58,  58,  58,  57,  57,  57,  57,  57,  57,  57,  56,  56,
        58,  58,  58,  58,  58,  58,  57,  57,  57,  57,  57,  57,  57,  56,  56,  56,
        58,  58,  58,  58,  58,  58,  57,  57,  57,  57,  57,  57,  57,  56,  56,  56,

        /*Size 32 x 32*/
        64,  65,  66,  67,  68,  67,  67,  67,  66,  66,  65,  64,  63,  63,  62,  61,
        65,  65,  66,  67,  67,  67,  67,  66,  66,  66,  65,  64,  64,  63,  62,  62,
        66,  66,  66,  66,  67,  67,  66,  66,  66,  66,  65,  64,  64,  63,  63,  62,
        67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  65,  65,  64,  63,  63,  62,
        68,  67,  67,  66,  66,  66,  66,  66,  66,  66,  65,  65,  64,  64,  63,  63,
        67,  67,  67,  66,  66,  66,  66,  65,  65,  65,  64,  64,  64,  63,  63,  62,
        67,  67,  66,  66,  66,  66,  65,  65,  64,  64,  64,  63,  63,  62,  62,  62,
        67,  66,  66,  66,  66,  65,  65,  64,  63,  63,  63,  62,  62,  62,  61,  61,
        66,  66,  66,  66,  66,  65,  64,  63,  63,  62,  62,  62,  61,  61,  61,  61,
        66,  66,  66,  66,  66,  65,  64,  63,  62,  62,  62,  61,  61,  61,  60,  60,
        65,  65,  65,  65,  65,  64,  64,  63,  62,  62,  61,  61,  61,  60,  60,  60,
        64,  64,  64,  65,  65,  64,  63,  62,  62,  61,  61,  60,  60,  60,  60,  59,
        63,  64,  64,  64,  64,  64,  63,  62,  61,  61,  61,  60,  60,  60,  59,  59,
        63,  63,  63,  63,  64,  63,  62,  62,  61,  61,  60,  60,  60,  59,  59,  59,
        62,  62,  63,  63,  63,  63,  62,  61,  61,  60,  60,  60,  59,  59,  59,  59,
        61,  62,  62,  62,  63,  62,  62,  61,  61,  60,  60,  59,  59,  59,  59,  58,

        /*Size 64 x 64*/
        64,  64,  65,  65,  66,  66,  67,  67,  68,  67,  67,  67,  67,  67,  67,  66,
        64,  65,  65,  66,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  67,  66,
        65,  65,  65,  66,  66,  66,  67,  67,  67,  67,  67,  67,  67,  67,  66,  66,
        65,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,  67,  67,  66,  66,  66,
        66,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,  66,  66,  66,  66,  66,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        67,  67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        68,  67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        67,  67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        67,  67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  66,  65,  65,
        67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  65,  65,  65,  65,
        67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  65,  65,  65,  65,  65,
        67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  65,  65,  65,  64,  64,
        67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  65,  65,  65,  64,  64,  64,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  65,  65,  65,  64,  64,  63,

        /*Size 128 x 128*/
        64,  64,  64,  65,  65,  65,  65,  66,  66,  66,  66,  66,  67,  67,  67,  67,
        64,  64,  65,  65,  65,  65,  65,  66,  66,  66,  66,  66,  67,  67,  67,  67,
        64,  65,  65,  65,  65,  65,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,
        65,  65,  65,  65,  65,  65,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,
        65,  65,  65,  65,  65,  66,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,
        65,  65,  65,  65,  66,  66,  66,  66,  66,  66,  66,  66,  66,  67,  67,  67,
        65,  65,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  67,  67,  67,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  67,  67,  67,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  67,  67,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        67,  67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        67,  67,  67,  67,  67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  66,  66,  66,  66,  66,  66,  66

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        85,  82,  68,  61,  82,  70,  64,  60,  68,  64,  59,  57,  61,  60,  57,  56,

        /*Size 8 x 8*/
        79,  89,  86,  76,  69,  64,  61,  59,  89,  84,  85,  80,  73,  67,  63,  60,
        86,  85,  74,  70,  67,  64,  61,  59,  76,  80,  70,  66,  63,  61,  60,  58,
        69,  73,  67,  63,  61,  59,  58,  57,  64,  67,  64,  61,  59,  58,  57,  56,
        61,  63,  61,  60,  58,  57,  56,  56,  59,  60,  59,  58,  57,  56,  56,  55,

        /*Size 16 x 16*/
        79,  84,  89,  87,  86,  81,  76,  73,  69,  67,  64,  62,  61,  60,  59,  59,
        84,  85,  86,  86,  85,  82,  78,  74,  71,  68,  66,  64,  62,  61,  60,  60,
        89,  86,  84,  84,  85,  82,  80,  76,  73,  70,  67,  65,  63,  62,  60,  60,
        87,  86,  84,  82,  80,  77,  75,  72,  70,  68,  66,  64,  62,  61,  60,  60,
        86,  85,  85,  80,  74,  72,  70,  69,  67,  66,  64,  63,  61,  60,  59,  59,
        81,  82,  82,  77,  72,  70,  68,  66,  65,  64,  63,  61,  60,  60,  59,  59,
        76,  78,  80,  75,  70,  68,  66,  64,  63,  62,  61,  60,  60,  59,  58,  58,
        73,  74,  76,  72,  69,  66,  64,  63,  62,  61,  60,  59,  59,  58,  58,  58,
        69,  71,  73,  70,  67,  65,  63,  62,  61,  60,  59,  59,  58,  58,  57,  57,
        67,  68,  70,  68,  66,  64,  62,  61,  60,  59,  58,  58,  58,  57,  57,  57,
        64,  66,  67,  66,  64,  63,  61,  60,  59,  58,  58,  57,  57,  57,  56,  56,
        62,  64,  65,  64,  63,  61,  60,  59,  59,  58,  57,  57,  57,  56,  56,  56,
        61,  62,  63,  62,  61,  60,  60,  59,  58,  58,  57,  57,  56,  56,  56,  56,
        60,  61,  62,  61,  60,  60,  59,  58,  58,  57,  57,  56,  56,  56,  56,  56,
        59,  60,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,  56,  56,  55,  55,
        59,  60,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,  56,  56,  55,  55,

        /*Size 32 x 32*/
        79,  81,  84,  86,  89,  88,  87,  86,  86,  83,  81,  79,  76,  74,  73,  71,
        81,  83,  84,  86,  87,  87,  86,  86,  85,  83,  81,  79,  77,  75,  73,  72,
        84,  84,  85,  86,  86,  86,  86,  85,  85,  83,  82,  80,  78,  76,  74,  73,
        86,  86,  86,  85,  85,  85,  85,  85,  85,  84,  82,  80,  79,  77,  75,  73,
        89,  87,  86,  85,  84,  84,  84,  85,  85,  84,  82,  81,  80,  78,  76,  74,
        88,  87,  86,  85,  84,  83,  83,  83,  82,  81,  80,  78,  77,  76,  74,  73,
        87,  86,  86,  85,  84,  83,  82,  81,  80,  78,  77,  76,  75,  74,  72,  71,
        86,  86,  85,  85,  85,  83,  81,  79,  77,  76,  75,  74,  73,  72,  70,  69,
        86,  85,  85,  85,  85,  82,  80,  77,  74,  73,  72,  71,  70,  69,  69,  68,
        83,  83,  83,  84,  84,  81,  78,  76,  73,  72,  71,  70,  69,  68,  68,  67,
        81,  81,  82,  82,  82,  80,  77,  75,  72,  71,  70,  69,  68,  67,  66,  66,
        79,  79,  80,  80,  81,  78,  76,  74,  71,  70,  69,  68,  67,  66,  65,  65,
        76,  77,  78,  79,  80,  77,  75,  73,  70,  69,  68,  67,  66,  65,  64,  64,
        74,  75,  76,  77,  78,  76,  74,  72,  69,  68,  67,  66,  65,  64,  64,  63,
        73,  73,  74,  75,  76,  74,  72,  70,  69,  68,  66,  65,  64,  64,  63,  62,
        71,  72,  73,  73,  74,  73,  71,  69,  68,  67,  66,  65,  64,  63,  62,  62,

        /*Size 64 x 64*/
        79,  80,  81,  82,  84,  85,  86,  87,  89,  88,  88,  88,  87,  87,  86,  86,
        80,  81,  82,  83,  84,  85,  86,  87,  88,  88,  87,  87,  87,  86,  86,  86,
        81,  82,  83,  83,  84,  85,  86,  87,  87,  87,  87,  87,  86,  86,  86,  86,
        82,  83,  83,  84,  85,  85,  86,  86,  87,  87,  86,  86,  86,  86,  86,  85,
        84,  84,  84,  85,  85,  85,  86,  86,  86,  86,  86,  86,  86,  86,  85,  85,
        85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,
        86,  86,  86,  86,  86,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,
        87,  87,  87,  86,  86,  85,  85,  85,  84,  84,  84,  84,  85,  85,  85,  85,
        89,  88,  87,  87,  86,  85,  85,  84,  84,  84,  84,  84,  84,  84,  85,  85,
        88,  88,  87,  87,  86,  85,  85,  84,  84,  84,  84,  84,  84,  84,  84,  84,
        88,  87,  87,  86,  86,  85,  85,  84,  84,  84,  83,  83,  83,  83,  83,  83,
        88,  87,  87,  86,  86,  85,  85,  84,  84,  84,  83,  83,  83,  82,  82,  81,
        87,  87,  86,  86,  86,  85,  85,  85,  84,  84,  83,  83,  82,  81,  81,  80,
        87,  86,  86,  86,  86,  85,  85,  85,  84,  84,  83,  82,  81,  81,  80,  79,
        86,  86,  86,  86,  85,  85,  85,  85,  85,  84,  83,  82,  81,  80,  79,  78,
        86,  86,  86,  85,  85,  85,  85,  85,  85,  84,  83,  81,  80,  79,  78,  77,

        /*Size 128 x 128*/
        79,  79,  80,  80,  81,  82,  82,  83,  84,  84,  85,  86,  86,  87,  87,  88,
        79,  80,  80,  81,  81,  82,  83,  83,  84,  84,  85,  86,  86,  87,  87,  88,
        80,  80,  81,  81,  82,  82,  83,  83,  84,  84,  85,  85,  86,  87,  87,  88,
        80,  81,  81,  82,  82,  83,  83,  84,  84,  85,  85,  85,  86,  86,  87,  87,
        81,  81,  82,  82,  83,  83,  83,  84,  84,  85,  85,  85,  86,  86,  87,  87,
        82,  82,  82,  83,  83,  83,  84,  84,  84,  85,  85,  85,  86,  86,  86,  87,
        82,  83,  83,  83,  83,  84,  84,  84,  85,  85,  85,  85,  86,  86,  86,  87,
        83,  83,  83,  84,  84,  84,  84,  85,  85,  85,  85,  85,  86,  86,  86,  86,
        84,  84,  84,  84,  84,  84,  85,  85,  85,  85,  85,  85,  86,  86,  86,  86,
        84,  84,  84,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  86,  86,  86,
        85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,
        86,  86,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,  85,
        86,  86,  86,  86,  86,  86,  86,  86,  86,  85,  85,  85,  85,  85,  85,  85,
        87,  87,  87,  86,  86,  86,  86,  86,  86,  86,  85,  85,  85,  85,  85,  85,
        87,  87,  87,  87,  87,  86,  86,  86,  86,  86,  85,  85,  85,  85,  85,  84,
        88,  88,  88,  87,  87,  87,  87,  86,  86,  86,  85,  85,  85,  85,  84,  84

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        66,  58,  57,  54,  58,  55,  55,  53,  57,  55,  52,  51,  54,  53,  51,  50,

        /*Size 8 x 8*/
        64,  69,  57,  57,  56,  55,  53,  52,  69,  61,  58,  59,  59,  57,  56,  54,
        57,  58,  55,  56,  56,  55,  54,  53,  57,  59,  56,  54,  54,  53,  53,  52,
        56,  59,  56,  54,  53,  52,  52,  51,  55,  57,  55,  53,  52,  51,  51,  50,
        53,  56,  54,  53,  52,  51,  50,  50,  52,  54,  53,  52,  51,  50,  50,  49,

        /*Size 16 x 16*/
        64,  67,  69,  63,  57,  57,  57,  57,  56,  55,  55,  54,  53,  53,  52,  52,
        67,  66,  65,  61,  57,  58,  58,  58,  57,  57,  56,  55,  54,  54,  53,  53,
        69,  65,  61,  59,  58,  58,  59,  59,  59,  58,  57,  56,  56,  55,  54,  54,
        63,  61,  59,  58,  56,  57,  57,  57,  57,  57,  56,  56,  55,  54,  54,  54,
        57,  57,  58,  56,  55,  56,  56,  56,  56,  56,  55,  55,  54,  54,  53,  53,
        57,  58,  58,  57,  56,  55,  55,  55,  55,  55,  54,  54,  54,  53,  53,  53,
        57,  58,  59,  57,  56,  55,  54,  54,  54,  54,  53,  53,  53,  52,  52,  52,
        57,  58,  59,  57,  56,  55,  54,  54,  53,  53,  53,  52,  52,  52,  52,  52,
        56,  57,  59,  57,  56,  55,  54,  53,  53,  52,  52,  52,  52,  51,  51,  51,
        55,  57,  58,  57,  56,  55,  54,  53,  52,  52,  52,  51,  51,  51,  51,  51,
        55,  56,  57,  56,  55,  54,  53,  53,  52,  52,  51,  51,  51,  50,  50,  50,
        54,  55,  56,  56,  55,  54,  53,  52,  52,  51,  51,  51,  50,  50,  50,  50,
        53,  54,  56,  55,  54,  54,  53,  52,  52,  51,  51,  50,  50,  50,  50,  50,
        53,  54,  55,  54,  54,  53,  52,  52,  51,  51,  50,  50,  50,  50,  49,  49,
        52,  53,  54,  54,  53,  53,  52,  52,  51,  51,  50,  50,  50,  49,  49,  49,
        52,  53,  54,  54,  53,  53,  52,  52,  51,  51,  50,  50,  50,  49,  49,  49,

        /*Size 32 x 32*/
        64,  65,  67,  68,  69,  66,  63,  60,  57,  57,  57,  57,  57,  57,  57,  56,
        65,  66,  66,  67,  67,  65,  62,  60,  57,  57,  57,  57,  58,  57,  57,  57,
        67,  66,  66,  65,  65,  63,  61,  59,  57,  58,  58,  58,  58,  58,  58,  58,
        68,  67,  65,  64,  63,  62,  60,  59,  57,  58,  58,  58,  59,  58,  58,  58,
        69,  67,  65,  63,  61,  60,  59,  58,  58,  58,  58,  59,  59,  59,  59,  59,
        66,  65,  63,  62,  60,  59,  59,  58,  57,  57,  58,  58,  58,  58,  58,  58,
        63,  62,  61,  60,  59,  59,  58,  57,  56,  57,  57,  57,  57,  57,  57,  57,
        60,  60,  59,  59,  58,  58,  57,  56,  56,  56,  56,  56,  57,  57,  57,  57,
        57,  57,  57,  57,  58,  57,  56,  56,  55,  55,  56,  56,  56,  56,  56,  56,
        57,  57,  58,  58,  58,  57,  57,  56,  55,  55,  55,  55,  55,  55,  55,  55,
        57,  57,  58,  58,  58,  58,  57,  56,  56,  55,  55,  55,  55,  55,  55,  55,
        57,  57,  58,  58,  59,  58,  57,  56,  56,  55,  55,  55,  55,  55,  54,  54,
        57,  58,  58,  59,  59,  58,  57,  57,  56,  55,  55,  55,  54,  54,  54,  54,
        57,  57,  58,  58,  59,  58,  57,  57,  56,  55,  55,  55,  54,  54,  54,  54,
        57,  57,  58,  58,  59,  58,  57,  57,  56,  55,  55,  54,  54,  54,  54,  53,
        56,  57,  58,  58,  59,  58,  57,  57,  56,  55,  55,  54,  54,  54,  53,  53,

        /*Size 64 x 64*/
        64,  65,  65,  66,  67,  67,  68,  68,  69,  68,  66,  65,  63,  62,  60,  59,
        65,  65,  65,  66,  66,  67,  67,  68,  68,  67,  65,  64,  63,  61,  60,  59,
        65,  65,  66,  66,  66,  66,  67,  67,  67,  66,  65,  63,  62,  61,  60,  59,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  65,  64,  63,  62,  61,  60,  58,
        67,  66,  66,  66,  66,  66,  65,  65,  65,  64,  63,  62,  61,  60,  59,  58,
        67,  67,  66,  66,  66,  65,  65,  64,  64,  63,  62,  62,  61,  60,  59,  58,
        68,  67,  67,  66,  65,  65,  64,  64,  63,  62,  62,  61,  60,  60,  59,  58,
        68,  68,  67,  66,  65,  64,  64,  63,  62,  61,  61,  60,  60,  59,  59,  58,
        69,  68,  67,  66,  65,  64,  63,  62,  61,  61,  60,  60,  59,  59,  58,  58,
        68,  67,  66,  65,  64,  63,  62,  61,  61,  60,  60,  59,  59,  58,  58,  58,
        66,  65,  65,  64,  63,  62,  62,  61,  60,  60,  59,  59,  59,  58,  58,  57,
        65,  64,  63,  63,  62,  62,  61,  60,  60,  59,  59,  59,  58,  58,  57,  57,
        63,  63,  62,  62,  61,  61,  60,  60,  59,  59,  59,  58,  58,  57,  57,  57,
        62,  61,  61,  61,  60,  60,  60,  59,  59,  58,  58,  58,  57,  57,  57,  56,
        60,  60,  60,  60,  59,  59,  59,  59,  58,  58,  58,  57,  57,  57,  56,  56,
        59,  59,  59,  58,  58,  58,  58,  58,  58,  58,  57,  57,  57,  56,  56,  56,

        /*Size 128 x 128*/
        64,  64,  65,  65,  65,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  69,
        64,  65,  65,  65,  65,  66,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,
        65,  65,  65,  65,  65,  66,  66,  66,  66,  67,  67,  67,  67,  67,  68,  68,
        65,  65,  65,  65,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,  67,  67,
        65,  65,  65,  66,  66,  66,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        67,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  65,  65,  65,  65,  65,
        67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  65,  65,  65,  65,  65,  65,
        67,  67,  67,  67,  66,  66,  66,  66,  66,  65,  65,  65,  65,  65,  64,  64,
        67,  67,  67,  67,  66,  66,  66,  66,  65,  65,  65,  65,  64,  64,  64,  64,
        68,  67,  67,  67,  67,  66,  66,  66,  65,  65,  65,  64,  64,  64,  64,  63,
        68,  68,  67,  67,  67,  66,  66,  66,  65,  65,  65,  64,  64,  64,  63,  63,
        68,  68,  68,  67,  67,  66,  66,  66,  65,  65,  64,  64,  64,  63,  63,  62,
        69,  68,  68,  67,  67,  66,  66,  66,  65,  65,  64,  64,  63,  63,  62,  62

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        73,  67,  66,  63,  67,  65,  64,  63,  66,  64,  62,  61,  63,  63,  61,  60,

        /*Size 8 x 8*/
        72,  76,  66,  66,  65,  64,  63,  62,  76,  69,  67,  68,  67,  66,  65,  64,
        66,  67,  65,  65,  65,  65,  64,  63,  66,  68,  65,  64,  64,  63,  63,  62,
        65,  67,  65,  64,  63,  62,  62,  61,  64,  66,  65,  63,  62,  62,  61,  61,
        63,  65,  64,  63,  62,  61,  61,  60,  62,  64,  63,  62,  61,  61,  60,  60,

        /*Size 16 x 16*/
        72,  74,  76,  71,  66,  66,  66,  66,  65,  65,  64,  64,  63,  63,  62,  62,
        74,  73,  72,  69,  66,  67,  67,  67,  66,  66,  65,  65,  64,  63,  63,  63,
        76,  72,  69,  68,  67,  67,  68,  68,  67,  67,  66,  66,  65,  64,  64,  64,
        71,  69,  68,  67,  66,  66,  66,  66,  66,  66,  65,  65,  64,  64,  63,  63,
        66,  66,  67,  66,  65,  65,  65,  65,  65,  65,  65,  64,  64,  63,  63,  63,
        66,  67,  67,  66,  65,  65,  65,  64,  64,  64,  64,  63,  63,  63,  63,  63,
        66,  67,  68,  66,  65,  65,  64,  64,  64,  63,  63,  63,  63,  62,  62,  62,
        66,  67,  68,  66,  65,  64,  64,  63,  63,  63,  63,  62,  62,  62,  62,  62,
        65,  66,  67,  66,  65,  64,  64,  63,  63,  62,  62,  62,  62,  62,  61,  61,
        65,  66,  67,  66,  65,  64,  63,  63,  62,  62,  62,  62,  61,  61,  61,  61,
        64,  65,  66,  65,  65,  64,  63,  63,  62,  62,  62,  61,  61,  61,  61,  61,
        64,  65,  66,  65,  64,  63,  63,  62,  62,  62,  61,  61,  61,  61,  60,  60,
        63,  64,  65,  64,  64,  63,  63,  62,  62,  61,  61,  61,  61,  60,  60,  60,
        63,  63,  64,  64,  63,  63,  62,  62,  62,  61,  61,  61,  60,  60,  60,  60,
        62,  63,  64,  63,  63,  63,  62,  62,  61,  61,  61,  60,  60,  60,  60,  60,
        62,  63,  64,  63,  63,  63,  62,  62,  61,  61,  61,  60,  60,  60,  60,  60,

        /*Size 32 x 32*/
        72,  73,  74,  75,  76,  73,  71,  69,  66,  66,  66,  66,  66,  66,  66,  65,
        73,  73,  73,  74,  74,  72,  70,  68,  66,  66,  66,  66,  66,  66,  66,  66,
        74,  73,  73,  73,  72,  71,  69,  68,  66,  67,  67,  67,  67,  67,  67,  66,
        75,  74,  73,  72,  71,  70,  69,  67,  66,  67,  67,  67,  67,  67,  67,  67,
        76,  74,  72,  71,  69,  68,  68,  67,  67,  67,  67,  67,  68,  68,  68,  67,
        73,  72,  71,  70,  68,  68,  67,  67,  66,  66,  67,  67,  67,  67,  67,  67,
        71,  70,  69,  69,  68,  67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        69,  68,  68,  67,  67,  67,  66,  66,  65,  65,  65,  66,  66,  66,  66,  66,
        66,  66,  66,  66,  67,  66,  66,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        66,  66,  67,  67,  67,  66,  66,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        66,  66,  67,  67,  67,  67,  66,  65,  65,  65,  65,  65,  65,  64,  64,  64,
        66,  66,  67,  67,  67,  67,  66,  66,  65,  65,  65,  64,  64,  64,  64,  64,
        66,  66,  67,  67,  68,  67,  66,  66,  65,  65,  65,  64,  64,  64,  64,  64,
        66,  66,  67,  67,  68,  67,  66,  66,  65,  65,  64,  64,  64,  64,  64,  63,
        66,  66,  67,  67,  68,  67,  66,  66,  65,  65,  64,  64,  64,  64,  63,  63,
        65,  66,  66,  67,  67,  67,  66,  66,  65,  65,  64,  64,  64,  63,  63,  63,

        /*Size 64 x 64*/
        72,  72,  73,  73,  74,  74,  75,  75,  76,  74,  73,  72,  71,  70,  69,  67,
        72,  72,  73,  73,  73,  74,  74,  74,  75,  74,  73,  72,  70,  69,  68,  67,
        73,  73,  73,  73,  73,  73,  74,  74,  74,  73,  72,  71,  70,  69,  68,  67,
        73,  73,  73,  73,  73,  73,  73,  73,  73,  72,  71,  71,  70,  69,  68,  67,
        74,  73,  73,  73,  73,  73,  73,  72,  72,  72,  71,  70,  69,  69,  68,  67,
        74,  74,  73,  73,  73,  72,  72,  72,  71,  71,  70,  70,  69,  68,  68,  67,
        75,  74,  74,  73,  73,  72,  72,  71,  71,  70,  70,  69,  69,  68,  67,  67,
        75,  74,  74,  73,  72,  72,  71,  70,  70,  69,  69,  69,  68,  68,  67,  67,
        76,  75,  74,  73,  72,  71,  71,  70,  69,  69,  68,  68,  68,  67,  67,  67,
        74,  74,  73,  72,  72,  71,  70,  69,  69,  68,  68,  68,  67,  67,  67,  67,
        73,  73,  72,  71,  71,  70,  70,  69,  68,  68,  68,  68,  67,  67,  67,  66,
        72,  72,  71,  71,  70,  70,  69,  69,  68,  68,  68,  67,  67,  67,  66,  66,
        71,  70,  70,  70,  69,  69,  69,  68,  68,  67,  67,  67,  67,  66,  66,  66,
        70,  69,  69,  69,  69,  68,  68,  68,  67,  67,  67,  67,  66,  66,  66,  66,
        69,  68,  68,  68,  68,  68,  67,  67,  67,  67,  67,  66,  66,  66,  66,  65,
        67,  67,  67,  67,  67,  67,  67,  67,  67,  67,  66,  66,  66,  66,  65,  65,

        /*Size 128 x 128*/
        72,  72,  72,  72,  73,  73,  73,  73,  74,  74,  74,  74,  75,  75,  75,  75,
        72,  72,  72,  72,  73,  73,  73,  73,  73,  74,  74,  74,  74,  74,  75,  75,
        72,  72,  72,  73,  73,  73,  73,  73,  73,  74,  74,  74,  74,  74,  74,  75,
        72,  72,  73,  73,  73,  73,  73,  73,  73,  73,  74,  74,  74,  74,  74,  74,
        73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  74,  74,  74,  74,
        73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,
        73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,
        73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,
        74,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  73,  72,  72,  72,
        74,  74,  74,  73,  73,  73,  73,  73,  73,  73,  73,  72,  72,  72,  72,  72,
        74,  74,  74,  74,  73,  73,  73,  73,  73,  73,  72,  72,  72,  72,  72,  72,
        74,  74,  74,  74,  73,  73,  73,  73,  73,  72,  72,  72,  72,  72,  71,  71,
        75,  74,  74,  74,  74,  73,  73,  73,  73,  72,  72,  72,  72,  71,  71,  71,
        75,  74,  74,  74,  74,  73,  73,  73,  72,  72,  72,  72,  71,  71,  71,  71,
        75,  75,  74,  74,  74,  73,  73,  73,  72,  72,  72,  71,  71,  71,  70,  70,
        75,  75,  75,  74,  74,  73,  73,  73,  72,  72,  72,  71,  71,  71,  70,  70

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        66,  57,  55,  52,  57,  54,  53,  52,  55,  53,  51,  50,  52,  52,  50,  49,

        /*Size 8 x 8*/
        64,  69,  57,  56,  55,  53,  52,  51,  69,  61,  56,  58,  57,  56,  54,  53,
        57,  56,  54,  55,  55,  54,  53,  52,  56,  58,  55,  53,  53,  52,  52,  51,
        55,  57,  55,  53,  52,  51,  50,  50,  53,  56,  54,  52,  51,  50,  50,  49,
        52,  54,  53,  52,  50,  50,  49,  49,  51,  53,  52,  51,  50,  49,  49,  48,

        /*Size 16 x 16*/
        64,  67,  69,  63,  57,  56,  56,  55,  55,  54,  53,  53,  52,  51,  51,  51,
        67,  66,  65,  61,  57,  57,  57,  56,  56,  55,  55,  54,  53,  52,  52,  52,
        69,  65,  61,  58,  56,  57,  58,  57,  57,  57,  56,  55,  54,  54,  53,  53,
        63,  61,  58,  57,  55,  56,  56,  56,  56,  55,  55,  54,  54,  53,  52,  52,
        57,  57,  56,  55,  54,  54,  55,  55,  55,  54,  54,  54,  53,  53,  52,  52,
        56,  57,  57,  56,  54,  54,  54,  54,  54,  53,  53,  53,  52,  52,  51,  51,
        56,  57,  58,  56,  55,  54,  53,  53,  53,  52,  52,  52,  52,  51,  51,  51,
        55,  56,  57,  56,  55,  54,  53,  52,  52,  52,  51,  51,  51,  51,  50,  50,
        55,  56,  57,  56,  55,  54,  53,  52,  52,  51,  51,  51,  50,  50,  50,  50,
        54,  55,  57,  55,  54,  53,  52,  52,  51,  51,  50,  50,  50,  50,  49,  49,
        53,  55,  56,  55,  54,  53,  52,  51,  51,  50,  50,  50,  50,  49,  49,  49,
        53,  54,  55,  54,  54,  53,  52,  51,  51,  50,  50,  50,  49,  49,  49,  49,
        52,  53,  54,  54,  53,  52,  52,  51,  50,  50,  50,  49,  49,  49,  49,  49,
        51,  52,  54,  53,  53,  52,  51,  51,  50,  50,  49,  49,  49,  49,  48,  48,
        51,  52,  53,  52,  52,  51,  51,  50,  50,  49,  49,  49,  49,  48,  48,  48,
        51,  52,  53,  52,  52,  51,  51,  50,  50,  49,  49,  49,  49,  48,  48,  48,

        /*Size 32 x 32*/
        64,  65,  67,  68,  69,  66,  63,  60,  57,  57,  56,  56,  56,  55,  55,  55,
        65,  66,  66,  67,  67,  65,  62,  59,  57,  57,  56,  56,  56,  56,  56,  56,
        67,  66,  66,  65,  65,  63,  61,  59,  57,  57,  57,  57,  57,  56,  56,  56,
        68,  67,  65,  64,  63,  61,  60,  58,  56,  56,  57,  57,  57,  57,  57,  57,
        69,  67,  65,  63,  61,  60,  58,  57,  56,  56,  57,  57,  58,  57,  57,  57,
        66,  65,  63,  61,  60,  59,  58,  57,  56,  56,  56,  56,  57,  57,  57,  57,
        63,  62,  61,  60,  58,  58,  57,  56,  55,  55,  56,  56,  56,  56,  56,  56,
        60,  59,  59,  58,  57,  57,  56,  55,  55,  55,  55,  55,  55,  55,  55,  55,
        57,  57,  57,  56,  56,  56,  55,  55,  54,  54,  54,  54,  55,  55,  55,  55,
        57,  57,  57,  56,  56,  56,  55,  55,  54,  54,  54,  54,  54,  54,  54,  54,
        56,  56,  57,  57,  57,  56,  56,  55,  54,  54,  54,  54,  54,  54,  54,  54,
        56,  56,  57,  57,  57,  56,  56,  55,  54,  54,  54,  54,  53,  53,  53,  53,
        56,  56,  57,  57,  58,  57,  56,  55,  55,  54,  54,  53,  53,  53,  53,  53,
        55,  56,  56,  57,  57,  57,  56,  55,  55,  54,  54,  53,  53,  53,  53,  52,
        55,  56,  56,  57,  57,  57,  56,  55,  55,  54,  54,  53,  53,  53,  52,  52,
        55,  56,  56,  57,  57,  57,  56,  55,  55,  54,  54,  53,  53,  52,  52,  52,

        /*Size 64 x 64*/
        64,  65,  65,  66,  67,  67,  68,  69,  69,  68,  66,  65,  63,  62,  60,  59,
        65,  65,  66,  66,  66,  67,  67,  68,  68,  67,  65,  64,  63,  61,  60,  58,
        65,  66,  66,  66,  66,  66,  67,  67,  67,  66,  65,  63,  62,  61,  59,  58,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  65,  64,  63,  61,  60,  59,  58,
        67,  66,  66,  66,  66,  66,  65,  65,  65,  64,  63,  62,  61,  60,  59,  58,
        67,  67,  66,  66,  66,  65,  65,  64,  64,  63,  62,  61,  60,  59,  58,  57,
        68,  67,  67,  66,  65,  65,  64,  64,  63,  62,  61,  60,  60,  59,  58,  57,
        69,  68,  67,  66,  65,  64,  64,  63,  62,  61,  60,  60,  59,  58,  58,  57,
        69,  68,  67,  66,  65,  64,  63,  62,  61,  60,  60,  59,  58,  58,  57,  57,
        68,  67,  66,  65,  64,  63,  62,  61,  60,  60,  59,  59,  58,  57,  57,  56,
        66,  65,  65,  64,  63,  62,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,
        65,  64,  63,  63,  62,  61,  60,  60,  59,  59,  58,  58,  57,  57,  56,  56,
        63,  63,  62,  61,  61,  60,  60,  59,  58,  58,  58,  57,  57,  56,  56,  55,
        62,  61,  61,  60,  60,  59,  59,  58,  58,  57,  57,  57,  56,  56,  56,  55,
        60,  60,  59,  59,  59,  58,  58,  58,  57,  57,  57,  56,  56,  56,  55,  55,
        59,  58,  58,  58,  58,  57,  57,  57,  57,  56,  56,  56,  55,  55,  55,  55,

        /*Size 128 x 128*/
        64,  64,  65,  65,  65,  66,  66,  66,  67,  67,  67,  68,  68,  68,  69,  69,
        64,  65,  65,  65,  65,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,  68,
        65,  65,  65,  65,  66,  66,  66,  66,  66,  67,  67,  67,  67,  68,  68,  68,
        65,  65,  65,  65,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,  67,  67,
        65,  65,  66,  66,  66,  66,  66,  66,  66,  66,  66,  67,  67,  67,  67,  67,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  67,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,
        67,  67,  66,  66,  66,  66,  66,  66,  66,  66,  66,  66,  65,  65,  65,  65,
        67,  67,  67,  66,  66,  66,  66,  66,  66,  66,  65,  65,  65,  65,  65,  65,
        67,  67,  67,  67,  66,  66,  66,  66,  66,  65,  65,  65,  65,  65,  64,  64,
        68,  67,  67,  67,  67,  66,  66,  66,  66,  65,  65,  65,  64,  64,  64,  64,
        68,  68,  67,  67,  67,  66,  66,  66,  65,  65,  65,  64,  64,  64,  64,  63,
        68,  68,  68,  67,  67,  66,  66,  66,  65,  65,  65,  64,  64,  63,  63,  63,
        69,  68,  68,  67,  67,  66,  66,  66,  65,  65,  64,  64,  64,  63,  63,  62,
        69,  68,  68,  67,  67,  67,  66,  66,  65,  65,  64,  64,  63,  63,  62,  62

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        74,  67,  66,  63,  67,  65,  64,  63,  66,  64,  62,  61,  63,  63,  61,  60,

        /*Size 8 x 8*/
        73,  77,  67,  66,  65,  64,  63,  62,  77,  70,  66,  68,  67,  66,  65,  64,
        67,  66,  65,  65,  65,  65,  64,  63,  66,  68,  65,  64,  64,  63,  63,  62,
        65,  67,  65,  64,  63,  62,  62,  61,  64,  66,  65,  63,  62,  62,  61,  61,
        63,  65,  64,  63,  62,  61,  61,  60,  62,  64,  63,  62,  61,  61,  60,  60,

        /*Size 16 x 16*/
        73,  75,  77,  72,  67,  66,  66,  65,  65,  65,  64,  64,  63,  63,  62,  62,
        75,  74,  73,  70,  67,  67,  67,  66,  66,  66,  65,  64,  64,  63,  63,  63,
        77,  73,  70,  68,  66,  67,  68,  67,  67,  67,  66,  65,  65,  64,  64,  64,
        72,  70,  68,  67,  65,  66,  66,  66,  66,  66,  65,  65,  64,  64,  63,  63,
        67,  67,  66,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  63,  63,  63,
        66,  67,  67,  66,  65,  65,  64,  64,  64,  64,  64,  63,  63,  63,  63,  63,
        66,  67,  68,  66,  65,  64,  64,  64,  64,  63,  63,  63,  63,  62,  62,  62,
        65,  66,  67,  66,  65,  64,  64,  63,  63,  63,  63,  62,  62,  62,  62,  62,
        65,  66,  67,  66,  65,  64,  64,  63,  63,  62,  62,  62,  62,  62,  61,  61,
        65,  66,  67,  66,  65,  64,  63,  63,  62,  62,  62,  62,  61,  61,  61,  61,
        64,  65,  66,  65,  65,  64,  63,  63,  62,  62,  62,  61,  61,  61,  61,  61,
        64,  64,  65,  65,  64,  63,  63,  62,  62,  62,  61,  61,  61,  61,  61,  61,
        63,  64,  65,  64,  64,  63,  63,  62,  62,  61,  61,  61,  61,  60,  60,  60,
        63,  63,  64,  64,  63,  63,  62,  62,  62,  61,  61,  61,  60,  60,  60,  60,
        62,  63,  64,  63,  63,  63,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,
        62,  63,  64,  63,  63,  63,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,

        /*Size 32 x 32*/
        73,  74,  75,  76,  77,  74,  72,  69,  67,  67,  66,  66,  66,  66,  65,  65,
        74,  74,  74,  75,  75,  73,  71,  69,  67,  67,  67,  66,  66,  66,  66,  66,
        75,  74,  74,  74,  73,  72,  70,  68,  67,  67,  67,  67,  67,  66,  66,  66,
        76,  75,  74,  73,  72,  70,  69,  68,  66,  67,  67,  67,  67,  67,  67,  67,
        77,  75,  73,  72,  70,  69,  68,  67,  66,  67,  67,  67,  68,  67,  67,  67,
        74,  73,  72,  70,  69,  68,  67,  67,  66,  66,  66,  67,  67,  67,  67,  67,
        72,  71,  70,  69,  68,  67,  67,  66,  65,  66,  66,  66,  66,  66,  66,  66,
        69,  69,  68,  68,  67,  67,  66,  66,  65,  65,  65,  65,  66,  66,  66,  66,
        67,  67,  67,  66,  66,  66,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        67,  67,  67,  67,  67,  66,  66,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        66,  67,  67,  67,  67,  66,  66,  65,  65,  65,  65,  64,  64,  64,  64,  64,
        66,  66,  67,  67,  67,  67,  66,  65,  65,  65,  64,  64,  64,  64,  64,  64,
        66,  66,  67,  67,  68,  67,  66,  66,  65,  65,  64,  64,  64,  64,  64,  64,
        66,  66,  66,  67,  67,  67,  66,  66,  65,  65,  64,  64,  64,  64,  63,  63,
        65,  66,  66,  67,  67,  67,  66,  66,  65,  65,  64,  64,  64,  63,  63,  63,
        65,  66,  66,  67,  67,  67,  66,  66,  65,  65,  64,  64,  64,  63,  63,  63,

        /*Size 64 x 64*/
        73,  73,  74,  74,  75,  75,  76,  76,  77,  76,  74,  73,  72,  71,  69,  68,
        73,  73,  74,  74,  74,  75,  75,  76,  76,  75,  74,  73,  71,  70,  69,  68,
        74,  74,  74,  74,  74,  75,  75,  75,  75,  74,  73,  72,  71,  70,  69,  68,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  73,  72,  71,  70,  70,  69,  68,
        75,  74,  74,  74,  74,  74,  74,  74,  73,  73,  72,  71,  70,  69,  68,  67,
        75,  75,  75,  74,  74,  74,  73,  73,  73,  72,  71,  70,  70,  69,  68,  67,
        76,  75,  75,  74,  74,  73,  73,  72,  72,  71,  70,  70,  69,  68,  68,  67,
        76,  76,  75,  74,  74,  73,  72,  72,  71,  70,  70,  69,  69,  68,  67,  67,
        77,  76,  75,  74,  73,  73,  72,  71,  70,  70,  69,  69,  68,  68,  67,  67,
        76,  75,  74,  73,  73,  72,  71,  70,  70,  69,  69,  68,  68,  67,  67,  66,
        74,  74,  73,  72,  72,  71,  70,  70,  69,  69,  68,  68,  67,  67,  67,  66,
        73,  73,  72,  71,  71,  70,  70,  69,  69,  68,  68,  67,  67,  67,  66,  66,
        72,  71,  71,  70,  70,  70,  69,  69,  68,  68,  67,  67,  67,  66,  66,  66,
        71,  70,  70,  70,  69,  69,  68,  68,  68,  67,  67,  67,  66,  66,  66,  65,
        69,  69,  69,  69,  68,  68,  68,  67,  67,  67,  67,  66,  66,  66,  66,  65,
        68,  68,  68,  68,  67,  67,  67,  67,  67,  66,  66,  66,  66,  65,  65,  65,

        /*Size 128 x 128*/
        73,  73,  73,  73,  74,  74,  74,  74,  75,  75,  75,  75,  76,  76,  76,  76,
        73,  73,  73,  73,  74,  74,  74,  74,  75,  75,  75,  75,  75,  76,  76,  76,
        73,  73,  73,  74,  74,  74,  74,  74,  74,  75,  75,  75,  75,  75,  76,  76,
        73,  73,  74,  74,  74,  74,  74,  74,  74,  75,  75,  75,  75,  75,  75,  75,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  75,  75,  75,  75,  75,  75,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  75,  75,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        75,  75,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  73,
        75,  75,  75,  75,  74,  74,  74,  74,  74,  74,  74,  74,  73,  73,  73,  73,
        75,  75,  75,  75,  75,  74,  74,  74,  74,  74,  74,  73,  73,  73,  73,  73,
        75,  75,  75,  75,  75,  74,  74,  74,  74,  74,  73,  73,  73,  73,  73,  72,
        76,  75,  75,  75,  75,  74,  74,  74,  74,  73,  73,  73,  73,  72,  72,  72,
        76,  76,  75,  75,  75,  74,  74,  74,  74,  73,  73,  73,  72,  72,  72,  72,
        76,  76,  76,  75,  75,  75,  74,  74,  74,  73,  73,  73,  72,  72,  72,  71,
        76,  76,  76,  75,  75,  75,  74,  74,  73,  73,  73,  72,  72,  72,  71,  71

      }
    }
  },
  {
    /* QM level 10*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        74,  72,  66,  62,  72,  67,  63,  62,  66,  63,  61,  60,  62,  62,  60,  60,

        /*Size 8 x 8*/
        71,  76,  74,  70,  66,  64,  62,  61,  76,  73,  74,  71,  68,  65,  63,  62,
        74,  74,  69,  67,  65,  64,  62,  62,  70,  71,  67,  64,  63,  62,  62,  61,
        66,  68,  65,  63,  62,  61,  61,  60,  64,  65,  64,  62,  61,  61,  60,  60,
        62,  63,  62,  62,  61,  60,  60,  60,  61,  62,  62,  61,  60,  60,  60,  60,

        /*Size 16 x 16*/
        71,  73,  76,  75,  74,  72,  70,  68,  66,  65,  64,  63,  62,  62,  61,  61,
        73,  74,  74,  74,  74,  72,  70,  69,  67,  66,  64,  64,  63,  62,  61,  61,
        76,  74,  73,  73,  74,  72,  71,  69,  68,  66,  65,  64,  63,  63,  62,  62,
        75,  74,  73,  72,  71,  70,  69,  68,  66,  65,  64,  64,  63,  62,  62,  62,
        74,  74,  74,  71,  69,  68,  67,  66,  65,  64,  64,  63,  62,  62,  62,  62,
        72,  72,  72,  70,  68,  67,  66,  65,  64,  63,  63,  62,  62,  62,  61,  61,
        70,  70,  71,  69,  67,  66,  64,  64,  63,  63,  62,  62,  62,  61,  61,  61,
        68,  69,  69,  68,  66,  65,  64,  63,  63,  62,  62,  61,  61,  61,  61,  61,
        66,  67,  68,  66,  65,  64,  63,  63,  62,  62,  61,  61,  61,  61,  60,  60,
        65,  66,  66,  65,  64,  63,  63,  62,  62,  61,  61,  61,  61,  60,  60,  60,
        64,  64,  65,  64,  64,  63,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,
        63,  64,  64,  64,  63,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,  60,
        62,  63,  63,  63,  62,  62,  62,  61,  61,  61,  60,  60,  60,  60,  60,  60,
        62,  62,  63,  62,  62,  62,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  62,  62,  62,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  62,  62,  62,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,

        /*Size 32 x 32*/
        71,  72,  73,  74,  76,  75,  75,  74,  74,  73,  72,  71,  70,  69,  68,  67,
        72,  73,  73,  74,  75,  75,  74,  74,  74,  73,  72,  71,  70,  69,  68,  67,
        73,  73,  74,  74,  74,  74,  74,  74,  74,  73,  72,  71,  70,  69,  69,  68,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  73,  72,  71,  71,  70,  69,  68,
        76,  75,  74,  74,  73,  73,  73,  74,  74,  73,  72,  72,  71,  70,  69,  69,
        75,  75,  74,  74,  73,  73,  73,  73,  72,  72,  71,  71,  70,  69,  69,  68,
        75,  74,  74,  74,  73,  73,  72,  72,  71,  71,  70,  69,  69,  68,  68,  67,
        74,  74,  74,  74,  74,  73,  72,  71,  70,  69,  69,  68,  68,  67,  67,  66,
        74,  74,  74,  74,  74,  72,  71,  70,  69,  68,  68,  67,  67,  66,  66,  65,
        73,  73,  73,  73,  73,  72,  71,  69,  68,  68,  67,  67,  66,  66,  65,  65,
        72,  72,  72,  72,  72,  71,  70,  69,  68,  67,  67,  66,  66,  65,  65,  64,
        71,  71,  71,  71,  72,  71,  69,  68,  67,  67,  66,  65,  65,  65,  64,  64,
        70,  70,  70,  71,  71,  70,  69,  68,  67,  66,  66,  65,  64,  64,  64,  63,
        69,  69,  69,  70,  70,  69,  68,  67,  66,  66,  65,  65,  64,  64,  63,  63,
        68,  68,  69,  69,  69,  69,  68,  67,  66,  65,  65,  64,  64,  63,  63,  63,
        67,  67,  68,  68,  69,  68,  67,  66,  65,  65,  64,  64,  63,  63,  63,  63,

        /*Size 64 x 64*/
        71,  71,  72,  72,  73,  74,  74,  75,  76,  75,  75,  75,  75,  75,  74,  74,
        71,  72,  72,  73,  73,  74,  74,  75,  75,  75,  75,  75,  75,  74,  74,  74,
        72,  72,  73,  73,  73,  74,  74,  74,  75,  75,  75,  75,  74,  74,  74,  74,
        72,  73,  73,  73,  73,  74,  74,  74,  75,  74,  74,  74,  74,  74,  74,  74,
        73,  73,  73,  73,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        75,  75,  74,  74,  74,  74,  74,  74,  73,  73,  73,  73,  74,  74,  74,  74,
        76,  75,  75,  75,  74,  74,  74,  73,  73,  73,  73,  73,  73,  73,  74,  74,
        75,  75,  75,  74,  74,  74,  74,  73,  73,  73,  73,  73,  73,  73,  73,  73,
        75,  75,  75,  74,  74,  74,  74,  73,  73,  73,  73,  73,  73,  73,  73,  73,
        75,  75,  75,  74,  74,  74,  74,  73,  73,  73,  73,  73,  73,  72,  72,  72,
        75,  75,  74,  74,  74,  74,  74,  74,  73,  73,  73,  73,  72,  72,  72,  71,
        75,  74,  74,  74,  74,  74,  74,  74,  73,  73,  73,  72,  72,  72,  71,  71,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  73,  73,  72,  72,  71,  71,  70,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  73,  73,  72,  71,  71,  70,  70,

        /*Size 128 x 128*/
        71,  71,  71,  71,  72,  72,  72,  73,  73,  73,  74,  74,  74,  75,  75,  75,
        71,  71,  71,  72,  72,  72,  73,  73,  73,  73,  74,  74,  74,  74,  75,  75,
        71,  71,  72,  72,  72,  72,  73,  73,  73,  73,  74,  74,  74,  74,  75,  75,
        71,  72,  72,  72,  72,  73,  73,  73,  73,  73,  74,  74,  74,  74,  75,  75,
        72,  72,  72,  72,  73,  73,  73,  73,  73,  74,  74,  74,  74,  74,  74,  75,
        72,  72,  72,  73,  73,  73,  73,  73,  73,  74,  74,  74,  74,  74,  74,  75,
        72,  73,  73,  73,  73,  73,  73,  73,  73,  74,  74,  74,  74,  74,  74,  74,
        73,  73,  73,  73,  73,  73,  73,  73,  74,  74,  74,  74,  74,  74,  74,  74,
        73,  73,  73,  73,  73,  73,  73,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        73,  73,  73,  73,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        75,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,
        75,  75,  75,  75,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  74,  73,
        75,  75,  75,  75,  75,  75,  74,  74,  74,  74,  74,  74,  74,  74,  73,  73

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        65,  62,  61,  60,  62,  61,  61,  60,  61,  61,  60,  59,  60,  60,  59,  59,

        /*Size 8 x 8*/
        64,  66,  62,  62,  61,  61,  60,  60,  66,  63,  62,  62,  62,  62,  61,  60,
        62,  62,  61,  61,  61,  61,  61,  60,  62,  62,  61,  61,  60,  60,  60,  60,
        61,  62,  61,  60,  60,  60,  60,  59,  61,  62,  61,  60,  60,  59,  59,  59,
        60,  61,  61,  60,  60,  59,  59,  59,  60,  60,  60,  60,  59,  59,  59,  59,

        /*Size 16 x 16*/
        64,  65,  66,  64,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,  60,
        65,  65,  64,  63,  62,  62,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,
        66,  64,  63,  62,  62,  62,  62,  62,  62,  62,  62,  61,  61,  61,  60,  60,
        64,  63,  62,  62,  61,  61,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,
        62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,  60,  60,  60,
        62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,
        62,  62,  62,  62,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,  60,
        61,  62,  62,  62,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,  59,  59,
        61,  62,  62,  62,  61,  61,  60,  60,  60,  60,  60,  60,  60,  59,  59,  59,
        61,  61,  62,  61,  61,  61,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,
        61,  61,  62,  61,  61,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,
        60,  61,  61,  61,  61,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,
        60,  61,  61,  61,  61,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,
        60,  60,  61,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  59,
        60,  60,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  59,  59,
        60,  60,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  59,  59,

        /*Size 32 x 32*/
        64,  64,  65,  65,  66,  65,  64,  63,  62,  62,  62,  62,  62,  61,  61,  61,
        64,  65,  65,  65,  65,  64,  63,  62,  62,  62,  62,  62,  62,  62,  61,  61,
        65,  65,  65,  65,  64,  64,  63,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        65,  65,  65,  64,  64,  63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        66,  65,  64,  64,  63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        65,  64,  64,  63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,
        64,  63,  63,  63,  62,  62,  62,  62,  61,  61,  61,  62,  62,  62,  62,  62,
        63,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        62,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  60,
        62,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  60,  60,  60,
        61,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  60,  60,  60,  60,
        61,  61,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  60,  60,  60,  60,
        61,  61,  62,  62,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,  60,

        /*Size 64 x 64*/
        64,  64,  64,  65,  65,  65,  65,  66,  66,  65,  65,  64,  64,  63,  63,  62,
        64,  64,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  63,  63,  63,  62,
        64,  65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  63,  63,  62,  62,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  63,  63,  62,  62,
        65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  63,  63,  63,  62,  62,
        65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  63,  63,  63,  63,  62,  62,
        65,  65,  65,  65,  65,  64,  64,  64,  64,  63,  63,  63,  63,  62,  62,  62,
        66,  65,  65,  65,  64,  64,  64,  64,  63,  63,  63,  63,  63,  62,  62,  62,
        66,  65,  65,  65,  64,  64,  64,  63,  63,  63,  63,  63,  62,  62,  62,  62,
        65,  65,  65,  64,  64,  64,  63,  63,  63,  63,  63,  62,  62,  62,  62,  62,
        65,  64,  64,  64,  64,  63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  62,
        64,  64,  64,  64,  63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  62,
        64,  63,  63,  63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  62,  61,
        63,  63,  63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  61,  61,
        63,  63,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  61,  61,  61,
        62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  65,  65,  65,  65,  65,  65,  65,  65,  65,  66,  66,
        64,  64,  64,  64,  64,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        64,  64,  64,  64,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        64,  64,  64,  64,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        64,  64,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  64,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  64,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  64,
        65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  64,  64,
        66,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  64,  63,
        66,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  63,  63

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        65,  61,  61,  60,  61,  60,  60,  59,  61,  60,  59,  59,  60,  59,  59,  58,

        /*Size 8 x 8*/
        64,  66,  62,  61,  61,  60,  60,  59,  66,  63,  61,  62,  62,  61,  61,  60,
        62,  61,  60,  61,  61,  60,  60,  60,  61,  62,  61,  60,  60,  60,  59,  59,
        61,  62,  61,  60,  59,  59,  59,  59,  60,  61,  60,  60,  59,  59,  59,  59,
        60,  61,  60,  59,  59,  59,  59,  58,  59,  60,  60,  59,  59,  59,  58,  58,

        /*Size 16 x 16*/
        64,  65,  66,  64,  62,  61,  61,  61,  61,  60,  60,  60,  60,  59,  59,  59,
        65,  65,  64,  63,  61,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,
        66,  64,  63,  62,  61,  61,  62,  62,  62,  61,  61,  61,  61,  60,  60,  60,
        64,  63,  62,  61,  61,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,
        62,  61,  61,  61,  60,  60,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,  60,  59,  59,  59,
        61,  61,  62,  61,  61,  60,  60,  60,  60,  60,  60,  59,  59,  59,  59,  59,
        61,  61,  62,  61,  61,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,
        61,  61,  62,  61,  61,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  59,
        60,  61,  61,  61,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  59,  59,
        60,  61,  61,  61,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  59,  59,
        60,  60,  61,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  58,  58,  58,
        60,  60,  61,  60,  60,  60,  59,  59,  59,  59,  59,  59,  59,  58,  58,  58,
        59,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  58,  58,  58,  58,  58,
        59,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  58,  58,  58,  58,  58,
        59,  60,  60,  60,  60,  59,  59,  59,  59,  59,  59,  58,  58,  58,  58,  58,

        /*Size 32 x 32*/
        64,  65,  65,  66,  66,  65,  64,  63,  62,  61,  61,  61,  61,  61,  61,  61,
        65,  65,  65,  65,  65,  64,  63,  62,  61,  61,  61,  61,  61,  61,  61,  61,
        65,  65,  65,  65,  64,  64,  63,  62,  61,  61,  61,  61,  61,  61,  61,  61,
        66,  65,  65,  64,  64,  63,  62,  62,  61,  61,  61,  61,  62,  61,  61,  61,
        66,  65,  64,  64,  63,  62,  62,  61,  61,  61,  61,  62,  62,  62,  62,  62,
        65,  64,  64,  63,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        64,  63,  63,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  61,  61,
        63,  62,  62,  62,  61,  61,  61,  61,  60,  61,  61,  61,  61,  61,  61,  61,
        62,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  61,  61,  61,  61,
        61,  61,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  61,  61,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  61,  61,  62,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  61,  62,  62,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  61,  61,  62,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  61,  61,  62,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  60,
        61,  61,  61,  61,  62,  61,  61,  61,  61,  60,  60,  60,  60,  60,  60,  59,

        /*Size 64 x 64*/
        64,  64,  65,  65,  65,  65,  66,  66,  66,  65,  65,  64,  64,  63,  63,  62,
        64,  64,  65,  65,  65,  65,  65,  65,  66,  65,  65,  64,  64,  63,  62,  62,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  63,  63,  62,  62,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  63,  63,  63,  62,  62,
        65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  63,  63,  62,  62,  62,
        65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  63,  63,  63,  62,  62,  62,
        66,  65,  65,  65,  65,  64,  64,  64,  64,  63,  63,  63,  62,  62,  62,  61,
        66,  65,  65,  65,  64,  64,  64,  63,  63,  63,  63,  62,  62,  62,  62,  61,
        66,  66,  65,  65,  64,  64,  64,  63,  63,  63,  62,  62,  62,  62,  61,  61,
        65,  65,  65,  64,  64,  64,  63,  63,  63,  62,  62,  62,  62,  62,  61,  61,
        65,  65,  64,  64,  64,  63,  63,  63,  62,  62,  62,  62,  62,  61,  61,  61,
        64,  64,  64,  63,  63,  63,  63,  62,  62,  62,  62,  62,  61,  61,  61,  61,
        64,  64,  63,  63,  63,  63,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,
        63,  63,  63,  63,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,
        63,  62,  62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,
        62,  62,  62,  62,  62,  62,  61,  61,  61,  61,  61,  61,  61,  61,  61,  60,

        /*Size 128 x 128*/
        64,  64,  64,  64,  65,  65,  65,  65,  65,  65,  65,  65,  66,  66,  66,  66,
        64,  64,  64,  64,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  66,  66,
        64,  64,  64,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  66,
        64,  64,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,
        65,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  64,
        66,  65,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  64,
        66,  65,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  64,  64,
        66,  66,  65,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  63,  63,
        66,  66,  66,  65,  65,  65,  65,  65,  64,  64,  64,  64,  64,  64,  63,  63

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      }
    }
  },
  {
    /* QM level 11*/
    {
      /*Luma*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      }
    },
    {
      /*Cb*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      }
    },
    {
      /*Cr*/
      {
        /*Inter*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      },
      {
        /*Intra*/
        /*Size 4 x 4*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 8 x 8*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 16 x 16*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 32 x 32*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 64 x 64*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,

        /*Size 128 x 128*/
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,
        64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64,  64

      }
    }
  }
};

